Variable size/Set: Difference between revisions

Added zkl
(Add Nimrod)
(Added zkl)
Line 428:
Other than arrays and strings, variables are a fixed size. Integers are
four bytes and reals are eight bytes.
 
=={{header|zkl}}==
It is up to the object to decide on size. For example, Ints and Floats are 8 bytes, Strings are immutable and are sized when created. Mutable lists and dictionaries grow and shrink as needed. Some mutable types (such as Lists and Dictionaries) can take [programmer supplied] hints as to how big they might become.
 
=={{header|ZX Spectrum Basic}}==
Anonymous user