Environment object
The Environment object is a system structure used to
hold information about the computing platform the PowerBuilder application
is running on. You populate the Environment object using the GetEnvironment function.
The Environment object has no events.
For more information about the GetEnvironment function,
see the PowerScript Reference.
Properties
Environment property |
Datatype |
Description |
---|---|---|
CharSet |
CharSet (enumerated) |
The international character set used
The values CharSetAnsiArabic! and CharSetAnsiHebrew! are not |
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
CPUType |
CPUTypes (enumerated) |
The type of CPU. For a complete list |
Language |
LanguageID |
Specifies the value of the language setting |
MachineCode |
Boolean |
Specifies whether the application executable
|
OSFixesRevision |
Integer |
The maintenance version of the operating |
OSMajorRevision |
Integer |
The major version of the operating system. |
OSMinorRevision |
Integer |
The point release of the operating system. |
PBBuildNumber |
Integer |
The build number of this version of PowerBuilder. |
PBFixesRevision |
Integer |
The maintenance version of PowerBuilder. |
PBMajorRevision |
Integer |
The major version of PowerBuilder. |
PBMinorRevision |
Integer |
The point release of PowerBuilder. |
NumberOfColors |
LongLong |
Number of colors on the screen. |
ScreenHeight |
Long |
Height of the screen in pixels. |
ScreenWidth |
Long |
Width of the screen in pixels. |
OSType |
OSTypes (enumerated) |
Operating system or environment. For |
PBType |
PBTypes (enumerated) |
Version of the PowerBuilder product. |
Win16 (obsolete) |
Boolean |
Indicates the type of the operating system
|
Functions
Environment function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
Object |
Returns the type of the object. |