System Package
The SparForte System package provides information about the computer a script
is running on, including the numeric precision limits, size of the basic memory
units, amount of free memory and more.
GCC Ada equivalent: System
System.System_Name System.Fine_Delta
System.Max_Int System.Tick
System.Min_Int System.Storage_Unit
System.Max_Binary_Modulus System.Word_Size
System.Max_Nonbinary_Modulus System.Memory_Size
System.Max_Base_Digits System.Default_Bit_Order
System.Max_Mantissa System.Login_Shell
System.Restricted_Shell System.Script_License
System.Script_Software_Model System.System_Version
System.Design_Phase System.Development_Phase
System.Maintenance_Phase System.Testing_Phase
Help Command: Contents of the System package
-
System.System_Name- name of the system...string "SYSTEM_NAME_SPARFORTE"
System.System_Version- return the SparForte version string (e.g. 1.0)
-
System.Min_Int - smallest integer
-
System.Max_Int - largest integer
-
System.Max_Binary_Modulus - maximum size for a modular type (if
power of 2
-
System.Max_Nonbinary_Modulus - maximum size for a modular type (if
not power of 2)
-
System.Max_Base_Digits - maximum decimal precision for a range
-
System.Max_Digits - largest number of digits allowed for a floating-point
number
-
System.Max_Mantissa - largest number of binary digits allowed for
a fixed-point number
-
System.Fine_Delta - smallest delta allowed for a fixed-point number
-
System.Tick - basic clock period in seconds
-
System.Storage_Unit - number of bits per unit of storage (e.g. 8
bits)
-
System.Word_Size - size of a word in bits (e.g. 32)
-
System.Memory_Size - number of available storage units (e.g. 4 Gig
of virtual memory)
-
System.Default_Bit_Order - the "endianness" of your computer (eg.
HIGH_ORDER_FIRST)
-
System.Login_Shell - (boolean) true if this is a login shell (AdaScript
extension)
-
System.Restricted_Shell - (boolean) true if this is a restricted
shell (AdaScript extension)
-
System.Script_License - (string) the license name set by pragma
license (or empty string if none)
-
System.Script_Software_Model - (string) the software model name set by pragma
software_model (or empty string if none)
-
System.Design_Phase - (boolean) true if running in the design phase of the SDLC
-
System.Development_Phase - (boolean) true if running in the development phase of the SDLC
-
System.Maintenance_Phase - (boolean) true if running in the maintenance phase of the SDLC
-
System.Testing_Phase - (boolean) true if running in the testing phase of the SDLC
SparForte is case-sensitve. "system.system_name" is not the same as "System.System_Name".
=> ? System.Memory_Size
4294967296
|