Author Topic: Parsing Error  (Read 1201 times)

Lone Wolf

  • Guest
Parsing Error
« on: January 01, 2003, 11:07:55 AM »
After trying to compile this:
Code: [Select]
IF ~~ THEN BEGIN Armory
SAY ~Alright, the armory it'll be.~
IF ~~ THEN DO ~StartStore("FWStor01",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN Arsenal
SAY ~Alright, the arsenal it'll be.~
IF ~~ THEN DO ~StartStore("FWStor02",LastTalkedToBy())~ EXIT
END
WeiDU spitted out an parsing error at last character of the DO block in the Armory state. StartStore is exactly the same as in Action.ids.
After decompiling Ribald.dlg (with --trans --nocom) there is an state very much alike:
Code: [Select]
IF ~~ THEN BEGIN 2
  SAY @11
  IF ~~ THEN DO ~StartStore("ribald",LastTalkedToBy())
~ EXIT
END
And here I got the same error.
                   

Dyara

  • Guest
Parsing Error
« Reply #1 on: January 01, 2003, 11:49:26 AM »
Change 'LastTalkedToBy()' to 'LastTalkedToBy(Myself)' and WeiDU will be satisfied.                    

Lone Wolf

  • Guest
Parsing Error
« Reply #2 on: January 01, 2003, 01:10:24 PM »
Yes, I just found out. Odd though, NI compiles such scripts perfectly...                    

cirerrek

  • Guest
Parsing Error
« Reply #3 on: January 01, 2003, 11:03:16 PM »
Just a FYI,

The NI compiler wasn't set up to recognized () as defaulting to Myself, until the most recent version.                    

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: