3 + 4 gives 7 in script editor.
log 70 does not return anything but “log” is in blue color, which means it is not a variable. Where is the dictionary/documentation for calculations?


log is the command to write results into the event log.
Pure AppleScript can only the 4 basics and power of (^). For enhanced operations there is a scripting addition by Satimage

oops!! I can’t believe i missed it.
Thank you, StefanK.