Hi all
I've got a little POP program that includes the following line:
vars debug = false;
constant c = getline('Departure: ');
constant d = getline('Destination or enter Q to quit: ');
Is this for some reason invalid? On loading the program into
VED for Win32, I get a strange response:
Departure:
;;; DECLARING VARIABLE debug
;;; DECLARING VARIABLE d
The next output the program intends to make includes some
strangeness too:
Calculating route from [constant d =
getline('Destination or enter Q to quit: ');] to
<undef c>.
I hope you can see what's happening there: but could you
please let me know why it happens? Changing the datatype from
from constant to vars produces a different MISHAP: ste.
Hardcoding the same vars/constants allows the script to run
without mishaps.
Any help would be very much appreciated!
Lee Goddard
________________________________________________________________
Lee Goddard on IS MSc at Sussex: <L.Goddard@sussex.ac.uk>
Home: <lee.goddard@bigfoot.com> <http://www.webslave.u-net.com>
"Post-modernism...
...the Grande Narrative that denies Grande Narrative."
- Cedric Watts (personal correspondence, 1997)
|