Page 323 of 346 Start Back Next End ZBasic System Library 311 ZBasic Microcontrollers TaskIsValid Type Function returning Boolean Invocation TaskIsValid(taskStack) Parameter Method Type Description taskStack ByRef array of Byte The stack for a task of interest. Discussion This function will return True if the specified task stack is currently in the task list, False otherwise. This function can be used with allocated task stacks to determine when it is safe to deallocate the task stack memory. See Also StatusTask