Insert and delete Commas

Dar Scott dsc at swcp.com
Wed Sep 18 11:14:01 EDT 2002


On Wednesday, September 18, 2002, at 09:54 AM, Jan Schenkel wrote:

> on insertCommaCd startNum, finishNum
...
>     put insertCommas(fld x) into fld x
...
> end insertCommaCd
>
> function insertCommas pNumber
...
> end insertCommas
>
Robert, Jan's example speaks much better than my ramblings about 
functions.  I think this is a good example to emulate.

(Do you want commas in 4-digit numerals like 1,234?  Or do you care 
one way or the other?  Some folks don't like them.)

Dar




More information about the Use-livecode mailing list