Sergey:
I know you can do that.
I was asking if there is something like a SET command that will make the STR function act like the TRANSFORM function you described. Something like:
SET STRCOMMA ON
? STR(12345) &Displays 12,345
SET STRCOMMA OFF
? STR(12345)
Thanks,
Yossi
>
>? TRANSFORM(12345, "9,999,999,999")
>
>* W/o leading spaces
>? LTRIM(TRANSFORM(12345, "9,999,999,999"))
>
>
>>
>>Is there any way for the STR function to automatically return the number formatted with the ',' for the 1000 delimiter?
>>
>>Example:
>>
>>
>>? STR(12345)
>>
>>
>>I'm converting a Clipper program that seems to have that capability.
>>