Re: I need help: string as variable name on 48G? How? Message #4 Posted by James M. Prange (Michigan) on 23 Feb 2007, 10:16 p.m., in response to message #2 by Ivan Nejgebauer
Actually, with the string in level 1, the code can be reduced to:
"'" SWAP + OBJ\->
This works because the compiler treats 'string the same as 'string'.
STR\-> could be substituted for OBJ\-> in this case, and should be very slightly faster.
There's also a SysRPL command $>ID that converts a string object to a global name object, and this command could be invoked with a SYSEVAL command, but I don't, offhand, know the entry point address.
Regards, James
|