RAW statement
(ORACLE only)Writes bytes to a field.
Syntax
field
position
length
expression
Notes
- In a variable length field, if (
position
+length
-1) is greater than the length offield
, the AVM pads the field with nulls before it performs the replacement.- In a fixed length field, if (
position
+length
-1) is greater than the length offield
, the AVM returns a run-time error. If (position
+length
-1) is less then the length offield
, the AVM pads the field with nulls so that it remains the same size.- If
position
,length
, orexpression
is equal to the Unknown value (?
), thenfield
becomes the Unknown value (?
).- If
position
is less than 1, orlength
is less than 0, the AVM generates a run-time error.See alsoGET-BYTE function, LENGTH function, LENGTH statement, PUT-BYTE statement, RAW function
OpenEdge Release 10.2B
|