Twelve statements: Difference between revisions
m
→{{header|AppleScript}}: More efficient postulation.
m (→{{header|AppleScript}}: Bad edit corrected) |
m (→{{header|AppleScript}}: More efficient postulation.) |
||
Line 426:
set statement1Truth to (nStatements = 12)
repeat with stmt from 1 to nStatements
set end of o's o's posits to
tell (statements's item stmt's words) to set statement1Truth to ¬
((statement1Truth) and ((count) > 1) and (beginning = stmt as text))
Line 432:
set output to {}
set firstIteration to true
repeat
-- Postulate answer:
if (firstIteration) then
set
else -- "Increment" the
set o's posits's item stmt to (not (o's posits's item stmt))
if (result) then exit repeat -- No carry.
end repeat
end if
-- Test consistency:
|