App Variable

The current AApp application object.

Type

AApp Public Const

Comments

The App object is created by ATEasy and provides access to the current project properties and modules, including the project programs and system objects. It also provides the properties that are set by the user in the project properties window. When executing an application, the application modules can retrieve the command line and the location of the executable from the App object properties.

Example

The following examples prints the current application module names:

print "Application Program, System and Drivers"

for i=0 to App.ProgramsCount

print "Program:";App.Programs(i).Name

next i

! You can use System instead of App.System

if App.System<>Nothing

print App.System.Name

for i=0 to System.DriversCount

print "Driver:";System.Drivers(i).Name

next i

endif

for i=0 to App.ProgramCount

print App.Programs(i).Name

next i

See Also

AApp, Driver, Program, System