| file | cstrl.4gl |
| declaration |
function str_center(s, l)
define s char(78),
l, i smallint
|
| returns | c, char(78), centered string |
| purpose | produces a centered string |
| example | none |
| notes | l specifies the length of the field on which the input string should be centered |
| file | cstrl.4gl |
| declaration |
function str_decode(istr)
define istr char(78)
|
| returns | ostr, char(78), decoded string r, boolean, decode operation error indicator |
| purpose |
decodes a string so that any \ddd occurrence is mapped to
the corresponding ascii character
|
| example | none |
| notes | none |
| file | cstrl.4gl |
| declaration |
function str_encode(istr)
define istr char(78)
|
| returns | ostr, char(80), encoded string |
| purpose |
encodes a string so to have unprintable characters as \ddd
|
| example | none |
| notes | none |
| file | cstrl.4gl |
| declaration |
function str_left(code)
define code char(8)
|
| returns | ostr, char(8), left justified string |
| purpose | left justifies a small string |
| example | none |
| notes | none |
| file | cstrl.4gl |
| declaration |
function str_right(code)
define code char(8)
|
| returns | ostr, char(8), right justified string |
| purpose | right justifies a small string |
| example | none |
| notes | none |
| Please address questions or comments to
marco greco (last updated Thu, 28 March 2002 16:09:24 GMT) |