Available global variables/parameters?
Posted: Tue Nov 13, 2012 12:45 pm
I don't really understand the "global" parameters listed on most functions.
There's a lot of stuff passed into functions such as where, ppos, sel_ppos, mx, my, etc. Are these global variables that are always available to every function?
I used the mx and my variables without really understanding where they came from to detect the current mouse position, and it "just worked"
But I don't fundamentally understand how these really work, and what variables might actually be available for use. Could you explain this and perhaps also provide a list of these globals? (if I've understood that concept correctly, anyway!)
The more I tinker in DSB, the less I realise I understand...
There's a lot of stuff passed into functions such as where, ppos, sel_ppos, mx, my, etc. Are these global variables that are always available to every function?
I used the mx and my variables without really understanding where they came from to detect the current mouse position, and it "just worked"

The more I tinker in DSB, the less I realise I understand...