Jump to content


Problem with WeiDU


  • Please log in to reply
2 replies to this topic

#1 -McHaggis-

-McHaggis-
  • Guest

Posted 21 June 2003 - 11:40 AM

I couldn't find a better forum where to post my problem, so I'll post it here.

I have a problem with WeiDU. I can't compile my .D file. I get this error report:

[eltan.d] LEXER ERROR at line 1 column 0--1
Near Text: {
invalid character [{]

[eltan.d] ERROR at line 1 column 0--1
Near Text: {
Parsing.Parse_error
ERROR: parsing [eltan.d]: Parsing.Parse_error

ERROR: Parsing.Parse_error


And I have thought my head through and have searched and looked the file with a magnifying glass, and yet I still can't find what I'm doing wrong. :angry: This is my time I use WeiDU so I might have done something immensely stupid and just don't know it. I even made another simple dialogue and tried to compile it, but again no dice. This I tried:

BEGIN ~TEST~

IF ~~ THEN BEGIN 0
SAY ~Hi, my name is Eltan. What's your name?~
IF ~~ THEN REPLY ~Hi Eltan. My name is .~ GOTO 1
END

IF ~~ THEN BEGIN 1
SAY ~ you say. What a stupid name is that?~
IF ~~ THEN REPLY ~It's not stupid! You are!~ EXIT
END


So please help me. I'm began desperate. :(

#2 Alan M.C.

Alan M.C.

    What I can have a title?

  • Member
  • 327 posts

Posted 21 June 2003 - 01:45 PM

First of all, don't panic and don't despair. I'm already bold using WeiDU by now. :P
One tip. To get a faster answer, post on the Weimer forum.

I can't see anything wrong from your TEST file, but what if you did:

BEGIN ELTAN (tildes: ~~ are optional) since you named the file Eltan.d in your folder.

#3 -jcompton-

-jcompton-
  • Guest

Posted 21 June 2003 - 05:19 PM

[eltan.d] LEXER ERROR at line 1 column 0--1
Near Text: {
invalid character [{]

[eltan.d] ERROR at line 1 column 0--1
Near Text: {
Parsing.Parse_error
ERROR: parsing [eltan.d]: Parsing.Parse_error

LEXER at line 1 column 0 (in other words, the very first position in the file) typically means "This is not really a plain text file." You'll run into this if you're using a MS Word .doc file, a Unicode-encoded text file, or RTF (which is what it turns out McHaggis had.)