[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Format and Format$


Le 12/01/2025 à 15:27, Charlie Reinl a écrit :
Salut,

if one can assume that all languages ​​are available on all computers,
then couldn't Format$, CFloat, CDate etc. be extended by an optional
parameter, the System.Language
Instead of
<code>
System.Language = "C"
Print CDate("09/06/1972 01:45:12")
</code>

one writes
    CDate("09/06/1972 01:45:12","C")
or CDate("09/06/1972 01:45:12","en-US")


I prefer not at the moment, as switching system language has a weight that I ignore partially, and that I can't control.

By making setting 'System.Language' mandatory, I'm telling the user that using different language is not a simple thing.

Regards,

--
Benoît Minisini.


References:
Format and Format$Charlie Reinl <Karl.Reinl@xxxxxxxxxx>