2004-03-10 06:46 AM
2004-03-10 07:06 AM
2004-08-25 08:48 PM
2004-08-25 10:26 PM
varName='[any text, I use a space]'It can be in the master or parameter script, or the script in which you are using it. For cases like this I initialize the variable right before I use it, for clarity.
2004-08-26 05:48 AM
VARNAME='anynamehere'Number is ??
2004-08-26 11:49 AM
MATERIAL unInitializedVarwill give a 'not found' error, even though the argument is really zero, and you might expect the material to come up 'General'.
2004-08-26 03:08 PM
All that is needed to initialize a string variable isWhy did you write the equation as you did? Why the 'any text, I use a space'? Are there two expressions needed to complete the statement?varName='[any text, I use a space]'
VARNAME='any text'Could I also write it as
VARNAME=anytextor do I need the quotes only when the string of text has spaces as in the first example, but that both examples will work depending on the string used.
In the GDL manual, it states there are four commands which can be used in the Parameter Script: VALUES, PARAMETERS, LOCK, HIDEPARAMETER.varName='[any text, I use a space]'
2023-03-16 04:35 AM
Reviving this thread,
How do you get this to work with arrays?
name = STR ("%2.0", i) + " " + sg_customName[i][2]
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |