Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
radboi22
Novice


Joined: 19 Jan 2008
Posts: 30

PostPosted: Fri Mar 27, 2009 10:47 pm   

How do I completely Reverse a String list?
 
Thanks, I just want to inverse the string list!
Reply with quote
Leitia
Adept


Joined: 04 May 2007
Posts: 292
Location: Boston

PostPosted: Fri Mar 27, 2009 11:10 pm   
 
#loop %numitems(@stringlist),1 {#sh check %item(@stringlist,%i)}

EDIT

I guess you meant put inside not check. This is for lists with duplicates, use #ADDI more simply to remove dupes but as you already have the list I did this.

#loop %numitems(@stringlist),1 {#var newlist %additem( %item( @stringlist, %i), @newlist)}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net