Specifically, I am using/toying with some code, using nested lists for intermediate storage.
It looks, for example, like this:
Code: Select all
// intermediate list of lists. Meant for avoiding long sequences of addElement(mem,...)
// There's a reason why I don't write this as mem=newList(<list_of_all_items_in_nested_lists>);
app=newList(
newList(here,over,comma,swap,store),
newList(here,over,allot,swap,cmove),
newList(...),
newList(bye)
);
// now looping through nested list "app", copying references to contents to list mem:
for (words in app) { // loop through lists
for (word in words) { // loop through list items
addElement(mem,word)
}
}
// nested lists "words" not needed any longer. Release?
removeVariable(app);