PDA

View Full Version : Forward-references



BigWumpus
- 19th June 2005, 16:15
Is PBP not able to solve forward-references to variables (Later declared inside the source) ?

mister_e
- 19th June 2005, 16:59
you mean ???

BigWumpus
- 20th June 2005, 17:02
fe:

i var byte

for i=1 to4
dummy[i]=i
next i

[...]

dummy var byte[10]


I got an error, because "dummy" is unknown inside the for-next-loop ...
setting the dummy-declaration at the beginning, all works fine.