FUNCTION wait: msLOCAL end_time end_time = GETTIMERALL() + ms WHILE GETTIMERALL() < end_time // HIBERNATE WENDENDFUNCTION