Re: buggy 4.0 program

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

I'm not sure if there is a difference between undeclared variables and unresolved forward references (that and conflicting references - variable declared twice - are the only reference errors that I know of).

The difference seems to be very clear, if EOF is reached.

Which is?

As far as I know, the variables can not be backward declared, so the difference is clear, there is no any need to look for forward referenced variables. But procedures and functions need the parsing to the end of file, they may be forward referenced.

I think now that all forward referenced routines may have the "FR:" prefix and separate specific namespace, then parsing will be much more simple and program will have much more clear text.

Regards,
Igor Kachan
kinz@peterlink.ru

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

Search



Quick Links

User menu

Not signed in.

Misc Menu