This project is read-only.
Serializable, shortcut method for AssignValueConverter, which a specific item from an array from a variable and assign to another variable.

IScriptCommand getItemInArrayCommand = 
  ScriptCommands.AssignValueConverter(ValueConverterType.GetArrayItem, "{Converter}", 
    ScriptCommands.Reassign("{Array}", "{Converter}", "{DestVariable}", false, 
	  ScriptCommands.PrintDebug("Item 1 -> {DestVariable}")), 1);	


getItemInArrayCommand = ScriptCommands.AssignArrayItem("{Array}", 1, "{DestVariable}", 
  ScriptCommands.PrintDebug("Item 1 -> {DestVariable}"));

Last edited Jul 29, 2014 at 11:11 AM by lycj, version 2


No comments yet.