Thousands Separator on OSX

Klaus Major klaus at major-k.de
Sat Mar 11 05:57:34 EST 2006


Hi Flavel,

> My brain is hurting try to get the current thousands separator on a  
> Mac OS.
>
> I have tried
>  put replaceText(shell("defaults read NSGlobalDomain  
> NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator
> but nothing.
>
> OS X 10.4.5
> Any help much appreciated.

If you just want to get that thing:
put shell("defaults read NSGlobalDomain NSThousandsSeparator") into  
gThousandsSeparator

Works here, i get a dot "." (german system)

But your line above also works here!!!?
OS X 10.4.5.

> Steve  Flavel

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the Use-livecode mailing list