Quote:
How do I ensure that the script knows I have started a new instruction a hard return doesn't seem to always do it?
I don't understand
Quote:
the difference between current time and previously saved value
Time delta : I don't know if there is an easy solution (Java API 8 are not supported). I'll do this :
Code:
def t1 =... //UNIX timestamp in seconds
def t2 =...
def text = String.format("%02d:%02d:%02d", (int)((t2-t1)/86400), ((int)((t2-t1)/3600)%3600), ((int)((t2-t1)/60)%60))
Quote:
I'm having issues with "nesting" math type things that keeps throwing errors so am having to write line afterline to do it - is there a heirachy of bracket types I should be using or something like that? () {} [] or ???
No, only parenthesis