Monday, December 1, 2008

v7.80.0032 - 2008-12-01 12:59

  • + SC input(): Added optional parameter "cancel" which allows you to freely define a value that's returned in case the user cancels the dialog:
    Syntax: input(topic, [notes], [default], [style=s], [cancel])
      [cancel]: value to be returned when user cancels
                if missing the script is terminated on cancel
    Example:
      ::$a = input("Enter your name!",, "Jimi",, chr(12)); echo $a;
  • * SC input(): The command does not throw an error anymore when the user cancels the dialog. The behavior now depends on the new parameter cancel (see above).
  • * Input dialog: Radically rewritten. Now the necessary height for the notes is auto-calculated. Also, now it does support Unicode in topic and notes strings.