It is possible to use strings of substitution variables (macros) in optoscript?


#1

It is possible to use strings of substitution variables (macros) in optoscript?
For example:

String Table -> Brain_B213, Lenght 20, Width 20, for values of this brain.
String Table -> BrainNames, Lenght 20, Width 20, for all brain.
String - > v_StringTemp, Witdth 20
v_StringTemp = “Brain_B213”

if ( BrainNames[0] == v_StringTemp ) then /* ( BrainNames[0] = Brain_B213 is equal to v_StringTemp = Brain_B213 )
v_StringTemp= v_StringTemp + “[0]”
&v_StringTemp = “98824234767962” /*this value can be stored in the corresponding table -> (“Brain_B213”).
endif

Thank you


#2

You can so some pretty fancy things with pointers, and pointer tables, and perhaps even binary data packed into string tables… but I’m not exactly sure what your goal is here. Could you give us more of a 10,000 foot view of what you’re trying to accomplish?