20th December 2003 14:13 UTC
Flush Global Variables?
Hmm... Just a small question, i used global variables in a couple of presets (im updating ED using wa5). But Global vars seemed to work a bit... funky, at startup the scopes & dm's would go berserk detecting some pretty mad values for the 3D rotation for example, im guessing from a previous preset. This seemed to get fixed by setting every reg i used to zero on the "control components" init. eeh what im just basicly asking, am i doing the right thing or is my coding just really bad? :igor:
btw. how about a simple function or an APE that would automaticly "flush" every global register from reg00 to reg99 ? Would help enourmosly and i wouldn't have to write long lines in the init like: reg00=0 ; reg01=0 ; reg02=0 and so on...