Re: function prototypes

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

©koda wrote:

> how can i in euphoria define function/procedure prototype?
> if i made prototype for every function in separate file, would this slow down
> program?( talkin 'bout LOT of functions(100))

There is no such thing as a function prototype in Euphoria - there are only the
actual definitions. If you need to access a
function which appears later in the code, use routine_id and call_proc or
call_func. If you make wrapper functions for each
routine which you need to use routine_id for, it may slow your program down a
bit... but probably not too much - it would
probably be unnoticeable.

--
Jeffrey Fielding
JJProg at cyberbury.net
http://JJProg.tripod.com/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu