Re: Forward reference to included function

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

This I don't understand:

It suggests to me that this should work:

foo() 
procedure foo() 
 ? x 
end procedure 
atom x = 1 
-- variable x has not been assigned a value  

You got an error, but not because of scope. The error was due to execution order and the variable not being assigned before it was used.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu