Re: Enter procedures externally
- Posted by Martin Stachon <martin.stachon at worldonline.cz> May 25, 2002
- 436 views
Sounds like creating an interpreter, but in this case you can do something like this: sequence s,rid integer at s = "example()" at = find('(', s) s = s[1..at-1] rid = routine_id(s) if rid = -1 then -- error end if call_proc(rid) -- Martin ----- Original Message ----- From: "Christopher B" <president at insight-concepts.com> To: "EUforum" <EUforum at topica.com> Sent: Saturday, May 25, 2002 11:22 AM Subject: Enter procedures externally I have another tricky problem I hope you guys can help out with. I have a program I want the user to be able to enter procedures in an EditText box, and have my program carry out the procedure internally. Example: procedure example() openWindow(exampleWin,Modal) end procedure Now when the user enters example() in the EditText box, the window opens. Is this possible, if so how?