Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Thanks!

Author: Dave Gomboc

Date: 00:42:28 11/22/99

Go up one level in this thread


On November 20, 1999 at 18:31:00, Christophe Theron wrote:

>On November 20, 1999 at 14:57:18, Jeroen van Dorp wrote:
>
>>10 REM this is an answering application
>>20 INPUT X$
>>25 REM **s&^t**! I forgot a line, now these funny numbering of lines
>>30 IF X$>0 THEN GOTO 60
>>40 PRINT AT 10,10 "I don't remember, Cristophe"
>>45 REM NEXT LINE IS A SILLY POKE COMMAND, NEVER UNDERSTOOD THAT STUPID COMMAND
>>50 POKE USR "A" +3
>>60 FOR JEROEN=NUTS: (LET) A$ BE TRUE
>>70 END for heavens sake.
>
>
>Argh. I tried to run it and got:
>
>Type mismatch in 30
>
>
>Somebody has an idea?
>
>
>    Christophe :)

The dollar sign in X$ indicates that X is a string.  You're comparing a string
against a number, so you get a type mismatch.

Well, that's my guess, anyway.

Dave



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.