setLocState FunctionSets the state of a specific location. SyntaxsetLocState('location'.split(','), newState); Parameters
ReturnsThere is no return value. RemarksUse the setCurLocState function to change the state of the current location. Exampleif(sectionChosen == 1) setLocState("April,1".split(','), "DONE"); else setLocState("April,0".split(','), "DONE"); |