Guardian Procedure Calls Reference Manual

SHIFTSTRING Procedure (Superseded by STRING_UPSHIFT_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The SHIFTSTRING procedure upshifts or downshifts all alphabetic characters in a string.
Nonalphabetic characters remain unchanged.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
CALL SHIFTSTRING ( string ! i, o
,count ! i
,casebit ); ! i
Parameters
string
input, output
STRING:ref:*
is the character string to be shifted.
count
input
INT:value
is the length of the string in bytes.
casebit
input
INT:value
specifies a value indicating whether to upshift or downshift the string:
The procedure upshifts the string indicated, making all alphabetic characters uppercase.0<15>
The procedure downshifts the string indicated, making all alphabetic characters lowercase.1
Example
CALL SHIFTSTRING (parameter , parameter^LEN , CASE^BIT);
! upshift
SHIFTSTRING Procedure (Superseded by STRING_UPSHIFT_ Procedure) 1359