private static ExecutionState Runtime_GenerateUID(RuntimeVM vm) { try { var number = vm.GenerateUID(); var result = new VMObject(); result.SetValue(number); vm.Stack.Push(result); } catch (Exception e) { throw new VMException(vm, e.Message); } return(ExecutionState.Running); }