SHARE
TWEET

Untitled

a guest Sep 13th, 2017 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void SetVariableValue(string name, double value)
  2.         {
  3.             AddVariable(name, value);
  4.             variables[name] = value;
  5.         }
  6.         public double GetVariableValue(string name)
  7.         {
  8.             if (variables[name] != null)
  9.                 return ((double)variables[name]);
  10.             else
  11.                 AddVariable(name, 0.0);
  12.             return 0.0;
  13.         }
RAW Paste Data
Top