Post Reply 
Wow tried putting this program in the HP Guide:
05-19-2019, 02:21 PM
Post: #2
RE: Wow tried putting this program in the HP Guide:
Line 2 is missing semicolons before the LOCAL keywords;

Code:
local x1:=160, x2:=299, x3:=21; local y1:=0, y2:=240, y3:=240; local xn:=160, yn:=0;

or more aesthetically pleasing
Code:
local x1:=160, x2:=299, x3:=21;
local y1:=0, y2:=240, y3:=240;
local xn:=160, yn:=0;

Or just put all 8 variables in one LOCAL declaration.
Code:
local x1:=160, x2:=299, x3:=21, y1:=0, y2:=240, y3:=240, xn:=160, yn:=0;

Eight is the max though. If you have more than eight, you have to split them into separate LOCAL statements.

I couldn't find this program in the User Guide. What page is it on?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Wow tried putting this program in the HP Guide: - Wes Loewer - 05-19-2019 02:21 PM



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