Re: Best Practices Issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Try associated lists.
<pseudocode> 

procedure set(varname,value)
 if wildmatch(this is one you wanna sum up_*,varname) then
   place = match(listnames,varname.*,count)
   while place do
     somevar += listvalues[place]
     place = match(list,varname.*,count)
   end while 
   do_something_with_somevar
  end if
end procedure

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu