Re: Modified Interpreter
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 12, 2003
- 501 views
On Sat, 12 Jul 2003 16:40:57 +0400, Igor Kachan <kinz at peterlink.ru> wrote: > but I wonder why my proggy prints: Igor, wake up! That *IS* your program, I just modified it so heavily you don't recognise it! It shows you can print (and therefore use, set, whatever you want) all four z from anywhere [within reason] in any of the four files (which is probably more than you asked for). The only thing I ignored was your attempt to define both a toplevel integer z and global integer z within z.ex, which is an error in anyones mind, in any language, as is expecting (as you seem to) that eg: integer z integer z z=3D1 z=3D2 ?z+z+z should print 4 (and not 3, 5, or 6). Whether or not you have made some of those z global, or put them in different files, it does not change the fact: that it is what you appear to be saying you want. Pete