M[UMPS] Functions - $WTW[IDTH]
Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.
This function returns a value that indicates how much space it takes to reproduce a string in a specific font.
SET TXT="This text needs to be printed."
SET F="COURIER",N="NORMAL",PT="POINT"
This means that it will take a space of 196 points to display the string that is stored in TXT.
This function returns a value that indicates how much space it takes to reproduce a string in a specific font.
SET TXT="This text needs to be printed."
SET F="COURIER",N="NORMAL",PT="POINT"
| Reference | Value | |
|---|---|---|
| $WTWIDTH(TXT,C,12,N,PT) | 196 |
This means that it will take a space of 196 points to display the string that is stored in TXT.
This document is © Ed de Moel, 1995-2005.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.
This document describes the various operators that are defined in the M[UMPS] language standard (ANSI X11.1, ISO 11756).
The information in this document is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.
In this document, information is included that will appear in future standards.
The MDC cannot guarantee that these 'next' standards will indeed appear.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.
This document describes the various operators that are defined in the M[UMPS] language standard (ANSI X11.1, ISO 11756).
The information in this document is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.
In this document, information is included that will appear in future standards.
The MDC cannot guarantee that these 'next' standards will indeed appear.