Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I execute line from a string

Status
Not open for further replies.

musalk

Programmer
Oct 30, 2001
33
0
0
DK
can i execute/run a line from a string
eg:
a= 20
str$ = "Print a" + " + 20"
?command? str$

'her it shuld run the "Print a + 20"
'and output screen is: 40 NeoAndresen
ComputerTech/Programmer
 
If you are talking about a scripting language, this is hard to do. I am working on one for my GUI and it is fantastically complicated. You will have to make your own executer, This will involve alot of IF-THEN and DATA statements. The GUI GIMI (which can be found at neozones.com) has a powerful scripting language and the source code is included, take a look at it, it might give you some ideas.
 
Thanks i havent thought about making a executer my self but it is a good idea i think i'l create one for free use... NeoAndresen
ComputerTech/Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top