Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

Limits of scripting in numbers

The scripting capability is designed for smaller and targeted tasks. Is is not designed to be a generic, general purpose programmable device. Were the limits are, depends on size of script, speed and amount of data to be stored during operation.

A few limits are (unless otherwise stated, all products have the "regular firmware"):

Resource Limit (regular Firmware) Limit (extended Firmware) Comment
Length of source code 12.288 Bytes 24.576 Bytes equals the size of Source Code file loaded into the module
Default size of tokenised code. 3.072 Bytes 6.144 Bytes Can be modified using command memcfg
Number of 'goto' commands 30 60 Including gosub commands
Nested gosubs 26 26  
Number of variable definitions 30 30 This is the number of variables, not the amount of memory they are using.
RAM Size:
 
Standard Split:
Heap size
Code segment
Data segment
12.288 Bytes
 
 
8.192 Bytes
3.072 Bytes
1.024 Bytes
24.576 Bytes
 
 
16.384 Bytes
6.144 Bytes
2.048 Bytes
The memory split can be changed by the scripting command MEMCFG