PROFILE Example


Example:

 

*

 

 

.Retrieve the Windows version.

.

 

 

GetVer

PROFILE

kernel32,GetVersion,INT2

 

GetVer defines the parameters needed to execute the Window's API function 'GetVersion'. The function returns a hex value whose high and low order bytes define release and version of Windows being executed. kernel32 is the DLL module. GetVersion is the API function name executed. INT2 defines the type of return variable.

 



PL/B Language Reference PROCEDURE Example PRTPAGE Example