Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

(GetTextExtent)

Mnemonic: (GetTextExtent);printable-text
Discussion: This mnemonic measures the size (width and height) of the specified printable-text. The resulting width and height are returned in LoWord and HiWord (respecively).

The return value for this function is obtained by requesting the result of the previous operation with (GetFuncResult) and then performing an input of the 4 byte return value.

History: This mnemonic is valid in Comet98 and greater.