1. Re: Quick Question

In Euphoria, everything has to be defined before it is used. There is an
exception with procedures and functions in Euphoria 2.0. You have to use
the routine_id function and the call_func or call_proc function. You can
fix this code like so:
integer pTest2
global function test1(char test)
         integer a
        a =3D call_func(pTest2,{"hi"})
        return 0
end function

global functin test2(char test)
        .... ... return 0
 end function
pTest2 =3D routine_id("test2")

Jeffrey Fielding
JJProg at cyberbury.net

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu