[SparForte][Banner]
[Top Main Menu] Intro | Tutorials | Reference | Packages | Examples | Contributors   [Back Page]      [Next Page]  

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 - name of the system...string "SYSTEM_NAME_SparForte"
  • 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)

SparForte is case-sensitve.  "system.system_name" is not the same as "System.System_Name".

=> ? System.Memory_Size
 4294967296

 
[Right Submenu]

 Summary

 arrays

 calendar

 cgi

 command_line

 db/ postgresql

 directory_operations

 enums

 files

 lock_files

 mysql

 numerics

 os

 pen

 sound

 source_info

 stats

 strings

 System

 text_io

 units

[Back to Top] Back To Top [Small Forte Symbol]