[thelist] Looping Psuedocode

Damien COLA damiencola at wanadoo.fr
Thu Aug 28 10:48:56 CDT 2003


it's pseudo code, length(), findPos() and add() are imaginary functions
that do what they mean. findPos returns the position of the argument in
the list, if found, if not found it return FALSE.

for(i=0, l=fromlist.length(); i<l; i++) {
  if ( ! tolist.findPos(fromlist[i]) ) {
    tolist.add(fromlist[i]); 
  }
}

Cordialement,
  Damien COLA
    http://www.VarMalin.com 



More information about the thelist mailing list