June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,21 +1,22 @@
|
|||
function aa bool
|
||||
global outcome
|
||||
put "aa called with" && bool & cr after outcome
|
||||
global outcome
|
||||
function a bool
|
||||
put "a called with" && bool & cr after outcome
|
||||
return bool
|
||||
end aa
|
||||
end a
|
||||
function b bool
|
||||
global outcome
|
||||
put "b called with" && bool & cr after outcome
|
||||
return bool
|
||||
end b
|
||||
|
||||
on mouseUp
|
||||
global outcome
|
||||
local tExp
|
||||
put empty into outcome
|
||||
repeat for each item op in "and,or"
|
||||
repeat for each item x in "true,false"
|
||||
put merge("[[aa(x)]] [[op]] [[b(x)]]") & cr after outcome
|
||||
put merge("[[aa(x)]] [[op]] [[b(not x)]]") & cr after outcome
|
||||
put merge("a([[x]]) [[op]] b([[x]])") into tExp
|
||||
put merge(tExp && "is [[" & tExp & "]]") & cr after outcome
|
||||
put merge("a([[x]]) [[op]] b([[not x]])") into tExp
|
||||
put merge(tExp && "is [[" & tExp & "]]") & cr after outcome
|
||||
end repeat
|
||||
put cr after outcome
|
||||
end repeat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue