At the moment I am working on basically copying the code line by line but implementing it for a different purpose. This is how I’ve learned code and I guess it’s working
But question…there are some variable names/objects (not like Java objects) that I want to know…
What does the following mean:
- recs
- diagp
- ["+i+"] especially this, I think it adds the index?
Why specifically these variable names? Just wanted to know.
Also in the draw() function, I am a bit lost in terms of the language. You execute the function anyway whether getrecord is true or false?!?!
if(getrecord). // statements`
//somewhere later, with statements
getrecord = true;`
//later again...
getrecord = false;
Thanks