Store

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

I looked at the store routine as givin in sequence.e . Is it not simpler to do this with recursion ?

global function store(sequence val;keys;w) 
if length(keys)>1 then 
val[keys[1]]=store(val[keys[1]],keys[2..],w) 
else 
val[keys[1]]=w 
end if 
return val 
end function 

Greating Menno .

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

Search



Quick Links

User menu

Not signed in.

Misc Menu