Post Reply 
recall a var that has a space in its name
08-27-2019, 06:56 AM (This post was last modified: 08-27-2019 07:05 AM by Joe Horn.)
Post: #2
RE: recall a var that has a space in its name
One way to create strange variable names is by typing them as strings (e.g. "dB Volts") and then executing the S~N command which converts any string into a name or vice versa. Library 256 is built in but normally not attached, so if typing S~N doesn't work, that means that Library 256 isn't attached in your 50g, in which case you can still execute S~N by executing 256.04 MENU, then pressing the S~N soft key (F5).

There's a system flag which, if set, forces Library 256 to be attached at every warmstart. Anybody remember which flag that is? It's a good idea to set that flag, since it lets you easily use Library 256's very powerful commands in your programs.

EDIT: In case it isn't obvious, one way to include the name object 'dB Volts' in a program is "dB Volts" S~N, which doesn't put it literally into the program but does put it on the stack when the program runs, which is the actual goal anyhow.

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: recall a var that has a space in its name - Joe Horn - 08-27-2019 06:56 AM

User(s) browsing this thread: 1 Guest(s)