Post reply

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:
Subject:
Message icon:

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

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Wisp
« on: February 09, 2016, 01:12:00 PM »

Yes.
Posted by: agb1
« on: February 09, 2016, 01:03:49 PM »

Thanks.  So the expression in the subject line is valid and will work as intended (only patch files exceeding 0x71 bytes)?
Posted by: Wisp
« on: February 09, 2016, 12:48:40 PM »

When a string is used where an integer is expected, WeiDU evaluates it as a variable (unless it can be int_from_stringed, like the one in the title). Things like %SOURCE_SIZE% is and always (aside from possibly early versions of WeiDU) has been semantically equivalent to "SOURCE_SIZE" and has nothing to do with how anything works, just the fact that WeiDU's old LALR parser required you to use string delimiters.
Posted by: agb1
« on: February 08, 2016, 08:08:19 PM »

What is the result of the > operator when one of the operands is a string, as in the subject line here?

Also, would it be incorrect to enclose SOURCE_SIZE in %% in this case?  i.e. PATCH_IF (%SOURCE_SIZE% > 0x71)