Numeric sorting problem
Ken Ray
kray at sonsothunder.com
Sat Mar 12 13:17:29 EST 2005
On 3/12/05 6:29 AM, "Karen" <Karen at curlypaws.com> wrote:
> I'm a bit stumped as to why this isn't working, but it may be impacted by
> the fact that the numeric fields are formatted using a statement such as:
>
> put format("%8.2f",tField) into tField
>
> Before being put into the lines, to ensure that they line up correctly.
> Could the leading spaces affect the sort?
That's it, Karen... do your sort *before* you run your format() command and
you should be OK.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list