how to list what fields are in a stack?

Rob Cozens rcozens at
Tue Jan 22 15:11:00 EST 2002

>Assuming permFieldCount = the number of fields that remain permanently on
>the card,
>	repeat with x = permFieldCount+1 to the number of fields
>	  delete field x
>	end repeat
>should do what you want.

Mike, et al:

How long must I program before I remember to get this right the first time!:

	repeat with x = the number of fields  down to permFieldCount+1
	  delete field x
	end repeat

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

More information about the Use-livecode mailing list