Author Topic: "DO ~(action)~ DO ~(action)~" gives no error message (WeiDU v. 197)  (Read 1591 times)

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1524
  • Gender: Female
Sorry if this already known, reported elsewhere etc. or already corrected,

using WeiDU v. 197 I had the following case:

...
IF ~~ THEN DO ~(action1)~ DO ~(action2)~ EXIT
END 

didn't giva an error message, but was compiled in a way the "action1" was not performed/ compiled at all.




Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: "DO ~(action)~ DO ~(action)~" gives no error message (WeiDU v. 197)
« Reply #1 on: February 10, 2007, 05:59:42 AM »
Well, it's expected, since we have TRANS_FEATURE list, which allows for repetitions.
As a fix, I'll compile both action1 and action2. Would you like also a warning message?
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1524
  • Gender: Female
Re: "DO ~(action)~ DO ~(action)~" gives no error message (WeiDU v. 197)
« Reply #2 on: February 12, 2007, 08:36:07 AM »
That's great, thank you.
Warning messsage: Would be helpful to spot it, since no one codes something like this on purpose (it was a copy and paste error on my side), so maybe the two actions to be performed was not the original intention of the coder, etc.

 

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)?: