Hi Przemek,
> I've already made this modification then I also made some tests with
> FSETDEVMOD() in C53 and before I'll commit it I have two questions:
> 1. CL53 returns only 1 or 2 and nothing more to indicate errors.
> Should I replicate it?
> 2. In tests it looks that it has some logic to return value for
> current file descriptor state if second parameter is not passed.
> In our source code we have:
> /* C53 checks only number of parameters: hb_pcount() == 2 */
> if( HB_ISNUM( 1 ) && HB_ISNUM( 2 ) )
> {
> ...
> }
> are you sure that the note and condition are valid?
Just generic suggestions:
You can implement HB_FSETDEVMODE() in the best way you can, without hacks,
then you can tailor FSETDEVMOD() to be as 5.3 compatible as possible with
all the weirdnesses.
Brgds,
Viktor
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour