equal
deleted
inserted
replaced
2601 if CheckLuaParamCount(L, 1, call, params) then |
2601 if CheckLuaParamCount(L, 1, call, params) then |
2602 begin |
2602 begin |
2603 |
2603 |
2604 case lua_tointeger(L, 1) of |
2604 case lua_tointeger(L, 1) of |
2605 HaltTestSuccess : rstring:= 'Success'; |
2605 HaltTestSuccess : rstring:= 'Success'; |
2606 HaltTestLuaError: rstring:= 'FAILED'; |
2606 HaltTestFailed: rstring:= 'FAILED'; |
2607 else |
2607 else |
2608 begin |
2608 begin |
2609 LuaCallError('Parameter must be either ' + params, call, params); |
2609 LuaCallError('Parameter must be either ' + params, call, params); |
2610 exit(0); |
2610 exit(0); |
2611 end; |
2611 end; |