Re: Forward reference bug: was ver. 4.0 WIN98 Binaries

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
-- junk.ew -- 
sequence dscrip 
 
dscrip = PreDefList[1] 
 
if getc(0) then end if 
sequence PreDefList 
 
-- end of junk.ew -- 

That now comes up with PreDefList being an unresolved forward reference. Is that right??

If it is made a global sequence, then the parser succeeds and we get the obvious runtime error (of PreDefList not having a value).

Why would a variable have anything to do with a forward reference? I thought forward references are for routines, not variables.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu