PUT-BYTE/LENGTH assignment too long

jdpjamesp

ProgressTalk.com Moderator
Staff member
This code works:

Code:
DEFINE VARIABLE lvRawData AS RAW      NO-UNDO.

ASSIGN LENGTH(lvRawData) = 79000.

But if I increase the length any more I get ** PUT-BYTE/LENGTH assignment too long -- increase -s parameter. (1829)

The obvious solutions are to either change the length or to increase -s like it says. My question is more one of how do you know what value -s needs to be for any given length of a raw variable?
 
Back
Top