1. Store
- Posted by menno Mar 04, 2011
- 1372 views
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 .
2. Re: Store
- Posted by DerekParnell (admin) Mar 05, 2011
- 1316 views
menno said...
I looked at the store routine as givin in sequence.e .
Is it not simpler to do this with recursion ?
It may be more elegant to use recursion but it would be slower.