Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL522631-001
6-35
MBCS_TRIMFRAGMENT_
Detects and trims trailing multibyte character fragments from text strings.
MESSAGESTATUS
Determines if a particular message received through READUPDATE has been canceled.
0 1-byte character
1 First byte of a multibyte character
2 Intermediate byte of a multibyte character
3 Last byte of a multibyte character
buffer, STRING .EXT:ref:* input
bytecount, INT:value input
testindex, INT .EXT:ref:1 input, output
charset, INT:value input
charinfo, INT .EXT:ref:1 output
CALL MBCS_TRIMFRAGMENT_ ( bytestring
,bytecount
,[ charset ]
,[ charinfo ] );
bytestring, STRING .EXT:ref:* input
bytecount, INT .EXT:ref:1 input, output
charset, INT:value input
charinfo, INT .EXT:ref:1 output
status := MESSAGESTATUS ( [ message-tag ] );
status, INT returned value
1 The message has been canceled.
0 The message has not been canceled.
-1 No pending message is associated with the given tag.