Oops, I made a scripting error

Next
 From:  bemfarmer
6909.1 
As a very satisfied Moi user, and an amateur script writer, today I noticed a scripting error which I made.
In the context of number entry, "unsignedintegerinput" permits the entry of positive integers.
"integerinput" permits the entry of positive and negative integers.

For "unsigned integerinput", the space is incorrect. The space must be removed, to avoid the entry of negative integers.
The error has propagated to nearly all of the scripts which I have written. :-(

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
6909.2 In reply to 6909.1 
Probably not a big problem though Brian, because most people probably wouldn't have been putting negative numbers anyway if it did not seem appropriate for the particular field (like for a "count" or "num items" type field).

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All