Hi April,

In most cases the default passed by the application
is already using the CP from the application so converting
it could easily result in double conversion.

I'll change 'on the returned value' to 'onto the
retrieved envvar value', plus correct some typos.

Thank you for the note.

Brgds,
Viktor

On 2009.08.25., at 2:44, April White wrote:

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

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

Reply via email to