Post Reply 
global variables HP-PPL
02-24-2017, 08:04 PM (This post was last modified: 02-24-2017 08:05 PM by compsystems.)
Post: #1
global variables HP-PPL
Hello if you define global variables without export, they are not displayed in the menu VAR or MEM, but if they exist, you can check it by executing more than once the next program

PHP Code:
x:=0;
y:=0;
EXPORT inputv0()
BEGIN
 
//x:=5;
 
print();
 print(
"text1"); wait;
 
input);
 print(
"text2"); wait;
 
input);
 print(
"text3"); wait;
END


Now if you define from the historal view

x: = 9; y = 8; And executes the previous program these values are not called by input

This shows that there are two types of global variables, one visible and one hidden,
Is this good or not?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
global variables HP-PPL - compsystems - 02-24-2017 08:04 PM
RE: global variables HP-PPL - Han - 02-24-2017, 08:26 PM



User(s) browsing this thread: 1 Guest(s)