I'm having another problem with GET and PUT. I want to move a window, I was thinking that I would GET the border of it, using 4 different variables :movea(100),moveb(100),movec(100),and moved(100),make a dotted red line, and then PUT the PSET of the image back onto the screen.
It gets past the first GET statement fine, but when it gets to the second it gives me an error. All of the variables have been declared before hand, all the same size yet it won't let me do the rest of them, what should I do?
Here's my exact code:
DIM SHARED movea(100)
DIM SHARED moveb(100)
DIM SHARED movec(100)
DIM SHARED moved(100)
.....
WHILE lb% = -1
mousestatus lb%,rb%,mb%,x%,y%
GET (x%,y%)-(x%+xlen,y%),movea
GET (x%+xlen,y%)-(x%+xlen,y%+ylen),moveb
GET (x%+xlen,y%+ylen)-(x%,y%+ylen),movec
GET (x%,y%+ylen)-(x%,y%),moved
LINE (x%,y%)-(x%+xlen,y%+ylen%),4,B,&H5555
PUT [I'm tired of typeing, the smae placement of the GETs]
"
"
"
WEND