0 Members and 1 Guest are viewing this topic.
Why not just use Request?Request “variable”, variableThat way variable is defined as the value. I can’t understand what you want to do.
Why not just use Request?Request “variable”, variableThat way variable is defined as the value. I can’t understand what you want to do.We are talking about z80 Basic, not Nspire Basic.And the equivalent to Request is Input, but that is not what he wants. He wants to put code that would store a value to a variable in a string and "execute the string" (if I understood correctly)
Hmm, I guess I'll either have to think of some tricky find-and-replace way of doing this or suck it up and use the 27-branch conditional. The reason why I wanted this was to let the user input a function of arbitrary variables, which is then searched for any variables and the user is prompted for their values. To then evaluate the function (or a transformation of the function), I need some way of actually assigning those values to the variables.