1. function prototypes

------=_NextPart_000_0047_01BF9C06.757FA660
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

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))

------=_NextPart_000_0047_01BF9C06.757FA660
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>how can i in euphoria define =
function/procedure=20
prototype?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>if i made prototype for every function =
in separate=20
file, would this&nbsp;slow down program?( talkin 'bout&nbsp;LOT of=20

------=_NextPart_000_0047_01BF9C06.757FA660--

new topic     » topic index » view message » categorize

2. Re: function prototypes

©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 message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu