> I do not understand why you are asking for DOSERROR() function. For sure
> when we increase the range of error codes then it stops to be exactly
> Clipper compatible but we can say the same about error codes in error
> object and at the beginning of this discussion we decided to change it
> and drop strict Clipper compatibility. Anyhow DOSERROR() is a little bit
> specific and it should be declared internally as 'int' (current SHORT
> definition is wrong) because it should allow to return any value just
> like main() or WinMain() function.

If I set it to int, there will be places where truncation will 
be going to happen when HB_ERRCODE (like oscode) is assigned to 
dos error.

Or, we can as well define HB_ERRCODE also as simple int.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to