Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
IPIX
Easy Animation
ADOXtra Lite
Elapsed Time
dmmMDB
Find angles of a right triangle
Foundation Flash 5
Tracking save attempts
Gravitational Force
Print WYSIWYG formatted text in Windows through Director
 

 

 

Behavior Reverse a list

Added on 6/29/1999

 

Compatibilities:
D6_5 Mac PC Script

This item has not yet been rated

Author: MetaforceInteractive

Reverses the sequence of a list.

--Copyright © 1997 -1998 Metaforce Interactive.
--http://www.metaforce.com
on reverseList whichList
   set outputList to []
   repeat with x in whichList
     -- Inserting the next list value at position 1 will bump the previous
     -- list values over by one index.
     addAt(outputList,1,x)
   end repeat
   return outputList
end reverseList  

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail