platform.apiLevel
Uniquely identifies the Script environment. If the script does not request a desired API level it will always default to the API level the script was created with.
Requesting a non-supported API level will result in the highest supported but below the requested API level supported by the TI-Nspire™ software version running the script. But requesting an API level below platform.apiLevel = '1.0' will result in the current API level of TI-Nspire™ software version running the script. Please see section A.1 for more details.
Note
• | If present, the platform.apiLevel = ‘X.X’ statement should be in the main part of the script only. It is advisable to place it on the first line of the script. |
• | Dynamically loaded scripts (load() or loadstring())
will use the same “platform.apiLevel = ‘X.X’” as the main script. Requesting to change the API level within dynamically loaded scripts causes an error. |
Introduced in platform.apiLevel = '2.0'1
Extended in platform.apiLevel = ‘2.3’