jasonsikes / QLogo

QLogo is a rewrite of the UCBLogo language and user interface written in C++ using Qt.

Home Page:https://qlogo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend MAKE command to facilitate multiple assignments at once.

jasonsikes opened this issue · comments

MAKE can be extended to use the form

MAKE [list-of-words] [list-of-items]

where each item in the second list can be assigned to the corresponding name in the first list. e.g.

MAKE [X Y Z] [50 50 0]

This could be a library function, and it would be simple.

( foreach [ var1 var2 var3 var4 var5 ] [ value1 value2 value3 value4 value5 ] [ make ?1 ?2 ] )

Not going to fix.