- Timestamp:
- 07/08/14 16:02:08 (10 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
/trunk/sources merged: 11135
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Scripting/3.3/CSharpScript.cs
r11058 r11136 38 38 get { 39 39 return @"// use 'vars' to access variables in the script's variable store (e.g. vars.x = 5) 40 // use 'vars[string]' to access variables via runtime strings (e.g. vars[""x""] = 5) 40 41 // use 'vars.Contains(string)' to check if a variable exists 41 42 // use 'vars.Clear()' to remove all variables -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Scripting/3.3/Variables.cs
r10727 r11136 20 20 } 21 21 22 public object this[string key] { 23 get { return variableStore[key]; } 24 set { variableStore[key] = value; } 25 } 26 22 27 public bool Contains(string variableName) { 23 28 return variableStore.ContainsKey(variableName);
Note: See TracChangeset
for help on using the changeset viewer.