Script BASIC

Support => Documentation => Topic started by: support on November 27, 2014, 06:56:08 PM

Title: MININT
Post by: support on November 27, 2014, 06:56:08 PM
The documentation I recently posted for Script BASIC flushed out a command I was unaware of.

Quote
MININT

This built-in constant is implemented as an argument less function. Returns the minimal ("maximal negative") number that can be stored as an integer value.

Code: Script BASIC
  1. PRINT MININT,"\n"
  2.  

Output from my Ubuntu 14.04 LTS 64 bit laptop.

jrs@laptop:~/sb/sb22/test$ scriba minint.sb
-9223372036854775808
jrs@laptop:~/sb/sb22/test$