Using Chr() With Val()

Just starting out? Need help? Post your questions and find answers here.
User avatar
TI-994A
Addict
Addict
Posts: 2739
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Using Chr() With Val()

Post by TI-994A »

mestnyi wrote:...string variable to read the name of the function and execute it

Code: Select all

st$ = "suma2(3,5)"
Debug st$
If you're trying to store the name of a procedure into a string, and then execute that procedure by calling that string, well that's not quite possible. :)
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: Using Chr() With Val()

Post by mestnyi »

It's not exactly the

Code: Select all

st$ = "OpenWindow(1, 0, 0, 600, 400, "+Chr(34)+"Window"+Chr(34)+")"
Post Reply