#ALIGN metastatement aligns the next instruction to a boundary.
#BREAK ON metastatement enables "Control-Break" as a means of terminating the program.
#BREAK OFF metastatement disables "Control-Break" as a means of terminating the program.
#DEBUG CODE ON metastatement activates generation of debug code.
#DEBUG CODE OFF metastatement suppresses generation of debug code, from that line, until a subsequent #DEBUG CODE ON (or the end of the Sub/Function/Method/Property) is reached.
#DEBUG DISPLAY ON metastatement enables error display mode when an untrapped run-time error occurs within a compiled PowerBASIC program.
#DEBUG DISPLAY OFF metastatement suppresses displaying of untrapped error messages.
#INCLUDE ONCE metastatement includes a file only one time during compilation, regardless of how many times it appears in the program
#OPTIMIZE metastatement chooses between faster execution or smaller code size.
#UTILITY metastatement. Compiler directive to allow external utility programs to read text inserted on the #UTILITY line.
BUILD$ function concatenates multiple strings with high efficiency.
CLASS / END CLASS Block creates the code and data for an object.
CLIPBOARD GET ITEM statement retrieves a data item from the Windows ClipBoard.
CLIPBOARD GET TEXT statement retrieves a string from the Windows ClipBoard.
CLIPBOARD RESET statement deletes the contents of the Windows ClipBoard.
CLIPBOARD SET ITEM statement stores a new data item in the Windows ClipBoard.
CLIPBOARD SET TEXT statement stores a string in the Windows ClipBoard.
BITSE function
compares
ERL$ function
returns the last label, line
number, or
EVENTS statement attaches or detaches an event handler to/from an event source.
EXE.EXTN$ read-only user defined type returns the extension (with a leading period) of the program which is currently executing.
EXE.FULL$ read-only user defined type returns the complete drive, path, and file name of the program which is currently executing.
EXE.NAME$ read-only user defined returns just the file name of the program which is currently executing.
EXE.NAMEX$ read-only user defined returns the file name and the extension of the program which is currently executing.
EXE.PATH$ read-only user defined returns the complete drive and path of the program which is currently executing.
EXIT METHOD transfers program execution out of a METHOD structure.
EXIT PROPERTY transfers program execution out of a PRPOPERTY structure.
FONT END statement destroys a font when it is no longer needed.
FONT NEW statement creates a new font for use with GRAPHIC PRINT, XPRINT, etc.
GLOBALMEM ALLOC statement allocates a moveable memory block.
GLOBALMEM FREE statement de-allocates a memory block.
GLOBALMEM LOCK statement lock a moveable memory block at a specific memory location.
GLOBALMEM SIZE statement returns the size of memory block.
GLOBALMEM UNLOCK statement unlocks a moveable memory block.
GRAPHIC
DETACH statement detaches a graphic
target (Window or
GRAPHIC GET LINES statement retrieves the number of lines that can be printed on the graphic target.
GRAPHIC GET SCALE statement retrieves the current coordinate limits for the graphic target.
GRAPHIC INKEY$ statement reads a keyboard character if one is ready.
GRAPHIC INPUT statement reads data from the keyboard from within a Graphic Window.
GRAPHIC INPUT FLUSH statement removes all buffered keyboard data.
GRAPHIC INSTAT statement determines whether a keyboard character is ready.
GRAPHIC LINE INPUT statement reads an entire line from the keyboard from within a Graphic Window or a Graphic Control.
GRAPHIC SCALE PIXELS statement sets or resets the graphic coordinate system to pixel coordinates.
GRAPHIC SET FONT statement selects a font for the GRAPHIC PRINT, GRAPHIC INPUT, and GRAPHIC LINE INPUT statements.
GRAPHIC WAITKEY$ statement reads a keyboard character, waiting until one is ready.
GRAPHIC WINDOW CLICK statement checks whether a GRAPHIC WINDOW has been clicked with the mouse.
IDISPINFO.CODE pseudo-object. When OBJRESULT is %DISP_E_EXCEPTION, this Get Property returns a long integer value which represents a more specific error code.
IDISPINFO.CONTEXT pseudo-object. When OBJRESULT is %DISP_E_EXCEPTION, this Get Property returns a long integer value which is the context of the topic within the help file (IDISPINFO.HELP$).
IDISPINFO.DESC$ pseudo-object. When OBJRESULT is %DISP_E_EXCEPTION, this Get Property returns a string containing a textual, human-readable description of the status.
IDISPINFO.HELP$ pseudo-object. When OBJRESULT is %DISP_E_EXCEPTION, this Get Property returns a string containing drive, path, and filename of a Help File with more information about this particular status code.
IDISPINFO.PARAM pseudo-object. When OBJRESULT is either %DISP_E_PARAMNOTFOUND or %DISP_E_TYPEMISMATCH, this Get Property returns a long integer value which represents the parameter number of the first parameter which failed to match the requirements needed.
IDISPINFO.SOURCE$ pseudo-object. When OBJRESULT is %DISP_E_EXCEPTION, this Get Property returns a string containing a textual, human-readable description of the source of the exception.
IDISPINFO.CLEAR pseudo-object. Clears all properties which may have been set by prior execution of IDISPINFO.SET in this thread.
IDISPINFO.SET pseudo-object. Sets the properties which for future execution of IDISPINFO.
INSTANCE statement declares an INSTANCE variable which is unique to each object.
INTERFACE / END INTERFACE Block (Direct) declares a direct object interface and its member Methods/Properties.
ISFILE function determines whether or not a file exists.
ISINTERFACE function determines whether an object supports a particular interface.
ISMISSING function determines whether an optional parameter was passed by the calling code.
ME pseudo-variable. A pseudo object variable to reference the current object.
METHOD / END METHOD statements defines a Method procedure within a class.
MYBASE pseudo-variable. A pseudo object variable to reference the inherited parent object.
OBJRESULT$ function returns a string which describes an OBJRESULT (hResult) code.
PATHNAME$ function parses a path/file name to extract its component parts.
PATHSCAN$ function finds a file on disk and returns the path and/or file name parts.
PROCESS GET PRIORITY retrieves the Priority Value for the current process.
PROCESS SET PRIORITY sets the Priority Value for the current process.
PROPERTY GET statement retrieves a data value from an object.
PROPERTY SET statement assigns a data value to an object.
RAISEEVENT statement calls an Event Handler code.
TIX statement measures elapsed CPU cycles.
UCODEPAGE statement sets the default codepage used for ANSI / UNICODE conversions.
THREAD
GET PRIORITY retrieves the Priority Value for a
THREAD SET PRIORITY sets the Priority Value for a thread
XPRINT GET COLLATE statement retrieves the XPRINT collate status.
XPRINT GET COLORMODE statement retrieves the XPRINT colormode status.
XPRINT GET COPIES statement retrieves the XPRINT copy count.
XPRINT GET DUPLEX statement retrieves the XPRINT duplex status.
XPRINT GET PAPER statement retrieves the current paper size/type.
XPRINT GET PAPERS statement retrieves a list of supported paper types.
XPRINT GET SCALE statement retrieves the current coordinate limits for the host printer page.
XPRINT GET TRAY statement retrieves the active printer tray.
XPRINT GET TRAYS statement retrieves a list of supported paper trays.
XPRINT SCALE PIXELS resets the coordinate system to the original default pixel coordinates.
XPRINT SET COLLATE statement changes the XPRINT collate status.
XPRINT SET COLORMODE statement changes the XPRINT colormode status.
XPRINT SET COPIES statement changes the XPRINT copy count.
XPRINT SET DUPLEX statement changes the XPRINT duplex status.
XPRINT SET FONT statement selects a font for the XPRINT statement.
XPRINT SET PAPER statement sets a new paper size/type.
XPRINT SET TRAY statement sets a new active printer tray.
See Also
Changes to existing Statements and Functions