System Variable

The current system ASystem object.

Type

ASystem Public Const

Comments

The System variable can be used anywhere in the application procedures and tests. It can be used for properties, methods, events, procedures, variables, and any public symbol defined in the system from any module in the application.

ATEasy initializes the System variable when the application starts. If the application project does not have a system module the System variable is set to Nothing.

The System variable may be used to obtain the values of properties set by the system property pages, the system drivers, and more.

Example

The following example prints the current system drivers:

if System=Nothing

print "No System"

else

print "System Drivers:";System.DriversCount

for i=0 to System.DriversCount

print System.Drivers(i).Name

next i

endif

See Also

AApp, App, ASystem, Driver, Program