Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: PatrickHenry; Junior; VadeRetro
Under MS-Basic, at least: The dollar signs go *after* the string variable names. String constants on lines 2, 6, and 10 are missing the necessary quote characters. Line 5 is a syntax error (needs a "GOTO" or "THEN" clause after the "IF" test). Line 5 is redundant anyway, since it's the fall-through from the comparison to "yes" on the prior line. There are two lines numbered 6, which will cause the first one to be replaced by the second one, thus the program will silently exit if the user responds to the question with anything other than "yes".

On the other hand, the infinite print loop appears to be a feature, not a bug.

137 posted on 11/15/2005 11:49:38 PM PST by Ichneumon
[ Post Reply | Private Reply | To 127 | View Replies ]


To: Ichneumon

Fortunately, I never went into the programming profession.


141 posted on 11/16/2005 2:35:51 AM PST by PatrickHenry (Expect no response if you're a troll, lunatic, retard, or incurable ignoramus.)
[ Post Reply | Private Reply | To 137 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson