Viktor, the note within this source file is:

/* NOTE: Harbour extended version of GETENV(). The 2nd parameter
        can be used to specify a default value, returned if the
        requested envvar doesn't exist.
        3rd, optional logical parameter can specify wether to
        apply automatic codepage conversion (to the codepage
        specified by Set( _SET_OSCODEPAGE ) on the returned value.
        The default is .T.
        [vszakats] */

If the envvar is not found and the second paramater is passed, it is returned without codepage conversion.

Either the note or the code is incorrect.

I've correcting the doc/en-en/misc.txt file GETENV/GETE entries and adding HB_GETENV.

April

--
We could learn a lot from crayons:
some are sharp, some are pretty, some are dull, some have weird names,
and all are different colors but they all have to learn to live in the
same box.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to