sort stack by short id of this card

Stgecft at aol.com Stgecft at aol.com
Sun Feb 24 10:52:00 EST 2002


I have a stack I am scripting for work.  For years I have been using this in 
Hypercard.  It is a "Form" made of six cards (designed to print cards 1 &2 on 
one page, cards 3 & 4 on the next page and cards 5 &6, on the last page). I 
have rewriten it in transcript and am now setting it to copy itself, and sort 
so that I have each form in order by field "Order Number".  (on mouseUp....go 
first .... repeat 6..new card....go next........sort stack by short id of 
this card)

Everything works fine....untill I got to Card ID 10000. Now card id 10000 has 
decided it wants to be first in the card order. Now the sort stops working 
and new cards are placed out of the order desired.  I tried inserting 
"Numeric", --sort stack nurmaric by short id of this card-- with no effect.  
The number of forms in this stack (consisting of six cards) is at 2133.  The 
duplication of these forms has malfuntioned at 1238 (card id 10000).  I still 
have many more to get to where I was with Hypercard.

Any ideas?



More information about the use-livecode mailing list