Currently, the compiler is one pass.
Multiple passes are not completely out of question, it is not high on
priority list though (also note, that most compilers have this
In cases, when it is necessary to call the procedure before it is
declared, it is possible
to first declare it (define the header) and later assign the body.
sum:proc e,f:byte >s:byte
;here some other code
s = e + f
On Dec 11 2010, 8:43 am, Patrik Tkáč <patari...@gmail.com
> Hi all,
> I didn't know that before I call the procedure, it must be defined
> sooner (in source code it must be placed before the procedure call
> for example
> /proc1: proc=
> proc2: proc=
> a = 1
> is not compileable.
> the right compileable sequence is:
> /proc2: proc=
> a = 1
> //proc1: proc=