Skip to content

1.0.2

Compare
Choose a tag to compare
@idleberg idleberg released this 24 Mar 02:17
· 25 commits to master since this release

1.0.2 - 28th March 2011

  • Global assignments of "" to registers are no longer assembled
    (registers are intialised to an empty string by NSIS).
  • Fixed < and > operators using incorrect jump labels.
  • Jump instructions when used in switch statements now receive similar
    optimisations to their use in if statements. For example, MessageBox
    can be used with cases "IDYES", "IDNO", "IDCANCEL" and so on. IfSilent
    can be used with cases true or false. The go-to labels for each case
    will be used directly on the jump instruction (i.e. IfSilent label_case_true label_case_false) as is also done with if statements.
  • Switch cases must have literal string, Boolean or integer values.
  • Added missing 'default:' case for switch statements.
  • Fixed Boolean values or instructions not being accepted as operands
    for a Boolean operator.
  • Fixed MessageBox being accepted as a Boolean value.
  • Fixed MessageBox using 3 goto jumps on the end when only 2 are
    allowed.
  • Fixed If statements accepting a non-boolean expression.
  • Fixed Boolean logic for || operator with left and right operands as
    relative/equality comparisons.
  • Added error on literal division by zero.
  • More example scripts!