protected object toLong(object[] args) { if (args[0] is string) { return(long.Parse(args[0].ToString())); } else { return(RTSLong.valueOf(args[0])); } }
protected object sleep(object[] args) { object a = args[0]; long t = RTSLong.valueOf(a); if (t > 0) { mThreads[pid].sleep(t); } return(RTSVoid.VOID); }