||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
Value returned: the sum of a comma- delimited list of items
numberList evaluates to a comma-delimited list of items, including any container holding such a list.
put sum(field 5) into total
if sum(firstList) > sum(secondList) then answer "Imbalance Found"
answer "1 + 2 + 3 + 4 + 5 + 6 + 7 =" && sum(1,2,3,four,5,6,7)
A comma-separated list of numbers.
In AppleScript, the list must be enclosed in brackets:
« stackSpace | HyperTalk Reference
| systemVersion »