Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
Posted: Fri Jan 18, 2019 5:36 pm Post subject: Re: Defining variables with long contents
misi01 wrote:
On our panel here, when I do a 7;3, I see the text
Code:
Current scrollable width of variables is: 62
If you PF8 a couple of times you would see this
Code:
Current scrollable width of variables is: 1163
misi01 wrote:
At the same time, in the online help, it syas that variables can contain up to 2048 characters.
How do I edit/define a variable with, say, 200 characters (ie, more than the 62 from above)?
You use VPUT to define the variables that are longer. You can use VGET to see the long variables. For examples ZSDATA contains more than 57 characters that are shown on 7.3 panel.
Here is an example to display the contents
Code:
/* REXX */
ISPEXEC VGET ZSDATA SHARED
SAY 'ZSDATA IS : ' ZSDATA
Here is a link to the documentation of VPUT to add variables to the shared/profile pool
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum