
-----------------------------------
bvbjules13
Thu Dec 06, 2012 8:39 pm

Variables and draw commands?
-----------------------------------
is it possible to have a variable with the assignment of a draw command? so i can call the variable and it will draw something 
(sorry i am not the great at programming :/ )

-----------------------------------
yazdmich
Thu Dec 06, 2012 8:46 pm

Re: Variables and draw commands?
-----------------------------------
I think you mean a procedure. A procedure is a "sub-program" that you can call (run) with a name. Here, I have a procedure named drawsomething that will draw a black, filled in box at co-ordinates (50, 50) and (100, 100)


procedure drawsomething
    Draw.FillBox (50, 50, 100, 100, black)
end drawsomething

drawsomething


-----------------------------------
AntoxicatedDevil78
Fri Dec 07, 2012 10:45 am

RE:Variables and draw commands?
-----------------------------------
Do you have any relavent Coding?
