Added system.program_results for controlling the exit code of the program under normal circumstances

Implemented operators like +=, -=, etc for ordinals, floats and string

Programs using the UnitTest module will now report the number of failed tests as the exit code of test runs (0 for successful run)
This commit is contained in:
Zahary Karadjov 2011-11-10 04:10:03 +02:00
commit 489340658e
5 changed files with 58 additions and 13 deletions

View file

@ -331,6 +331,8 @@ typedef long long int NI64;
typedef unsigned int NU32;
#endif
extern NI nim_program_result;
typedef float NF32;
typedef double NF64;
typedef double NF;