Article View: comp.lang.logo
Article #225HELP WANTED: LSRHS version of LOGO (DOSLOGO)
From: John Savage
Date: Tue, 06 Oct 1992 08:16
Date: Tue, 06 Oct 1992 08:16
28 lines
1794 bytes
1794 bytes
I would like to hear from anyone running the LSRHS LOGO, so I can compare notes on some mysterious behaviour I have found in the version I downloaded from cher.media.mit.edu as DOSLOGO. Specifically, I found that PRINT RANDOM 10000 works reliably, but PRINT RANDOM 32767 works only about one time out of every five times I execute it. (32767 is the largest positive integer for 16 bits). Some integer arguments are not accepted at all - I can live with that, but I would like the largest range of random numbers, so why does RANDOM 32767 run only erratically?? Furthur, the ASCII function is strange. To return the ASCII value of the character "0", one should use PRINT ASCII "0 , but this returns a number cycling through this set, one value at a time, every time it is run: 232 232 124 124 90 90 158 1158 28 28 !!! None of these is correct. To get the correct answer, I can use PRINT ASCII 0 ; but this cannot be extended to finding the ASCII value of "D", etc. Apart from these oddities, I like it. ----------------------------------- John Savage School of Maths, Physics, Computing & Electronics, Macquarie Univerity. Sydney. Australia. email: johns@macadam.mpce.mq.edu.au -----------------------------------
Technical Details
Message-ID:
<1992Oct6.081638.6249@mailhost.ocs.mq.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!sunb!macadam.mpce.mq.edu.au!johnsShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.logo Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!sunb!macadam.mpce.mq.edu.au!johns From: johns@macadam.mpce.mq.edu.au (John Savage) Subject: HELP WANTED: LSRHS version of LOGO (DOSLOGO) Message-ID: <1992Oct6.081638.6249@mailhost.ocs.mq.edu.au> Originator: johns@macadam.mpce.mq.edu.au Sender: news@mailhost.ocs.mq.edu.au (Macquarie University News) Nntp-Posting-Host: macadam.mpce.mq.edu.au Organization: School of MPCE, Macquarie University, Australia. Date: Tue, 6 Oct 1992 08:16:38 GMT Lines: 28