Re: Enter procedures externally

new topic     » goto parent     » topic index » view thread      » older message » newer message

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?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu