Re: Modified Interpreter

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

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! blink 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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu