3.1.3.2.6 SHAPE

Syntax:

SHAPE field-argument

Description: Retrieves the text specified by text in field-argument. The text may specify a character whose code point value is specified in decimal or hexadecimal. Three digits shall be used to specify a character using decimal numbers. Up to four digits shall be used to specify a character using hexadecimal (leading 0x or 0X).

Word does not allow insertion of the code point 13.

[Note: This field is supported for legacy reasons, and it is recommended that QUOTE ("[ISO/IEC-29500-1] §17.16.5.49; QUOTE") be used instead. end note]

Field Value: The specified text or character.

Switches: Zero or more of the date-and-time-formatting-switch, general-formatting-switch, or numeric-formatting-switches, depending on the type of field-argument.

[Example: When the current month is January and the following field is updated:

 Last month was SHAPE IF DATE \@ "M" = 1 "12" "= DATE \@ "M" - 1"/1/2000 \@ "MMMM".

the result is:

 Last month was December end example]

[Example: When the following field is updated:

 SHAPE 063 " is code point 63."

the result is:

 ? is code point 63. end example]
Show: