Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Documentation Minor Documentation Issue with TMP:

Jun
1,092
48
Under the help for DO, the following appears (emphasis added):

To execute the loop once for each line of text in one of the TMP temporary character devices, use TMP: (or TMP0: - TMP9:) as the file name (e.g. DO X IN @TMP:). See TMP for more information on TMP:.​

By experimenting, I learned that TMP: is equivalent to TMP0: as implied perhaps above. I don't think that it is documented anywhere that TMP: will be interpreted as TMP0: when accessing the values stored there. TMP: cannot be used everywhere to mean TMP0:. For example tmp /s tmp: new value does not work.
 
Back
Top