PreviousNextIndex

PUT-STRING statement

Stores the null-terminated value of a CHARACTER or LONGCHAR expression at the specified memory location. If numbytes is specified, PUT-STRING will copy the requested number of bytes from the variable, regardless of whether there are embedded nulls. In this case PUT-STRING will not put a terminating null into the MEMPTR unless the last byte copied happens to be a null.

Syntax

PUT-STRING ( destination , position , [ numbytes ] ) = expression 

destination
position
numbytes
expression
Notes
See also

GET-STRING function, LENGTH function, LENGTH statement, RAW function, RAW statement, SET-SIZE statement


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex