[13052 ms] !store-triple "#guessed language is german" -> if then -> #say "Sorry, I don't speak German"
!store-triple {a and b} is true -> if X then Y -> {a is true} and {b is true}
!store-triple {a is true} and {b is true} -> if X then Y -> {a and b} is true
"!eval flexMatchIC(/"if * then * endif/", loadSnippet(#1011999))"
"!eval getFlexMatchIC(/"if * then * endif/", loadSnippet(#1011999))"
[[
If swic(trimFirstLine(#input), "If ")
and swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)
]] -> is -> the multiline-if-then-rule
[[
If swic(trimFirstLine(#input), "If ")
and swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)
]] is the multiline-if-then-rule
[[If (swic(trimFirstLine(#input), "If ")
and (swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)]] -> is -> the multiline-if-then-rule
[[If (swic(trimFirstLine(#input), "If ")
and (swic(trimLastLine(#input), "then ")
then (#input is multiline-if-then)]] is the multiline-if-then-rule
[if, "what is 2+2", then, "4. duh"]
an if-then pattern
an if-then pattern -> is -> a pattern
an if-then pattern is a pattern
if (Unix is the best operating system)
then (Unix
if (Unix is the best operating system)
then (Unix is an operating system)
if (Unix -> is -> the best operating system) then (Unix
if (Unix -> is -> the best operating system) then (Unix is an operating system)
if * then * endif
if * then * endif" flexMatchI"
if * then * endif" is an if patter"
if * then * endif" with flexMatchI"
if * then * endif" with flexMatchIC is an if patter"
if * then * endif/" flexMatchI/"
if * then * endif/" with flexMatchI/"
if then
if X then Y
if {$X is too big} then {$X does not fit
if {$X is too big} then {$X does not fit in $Y}
if {(Unix is the best operating system)
then (Unix is an operating system)}
if {(Unix is the best operating system)
then (Unix}
if {* then * endif" with flexMatchI"}
if {* then * endif}
if {X then Y}
if {{$X is too big} then {$X does not fit in $Y}}
if-then pattern
the multiline-if-then-ruleSnippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #3000482 |
| Snippet name: | Smart Bot's answer to: !eval lines(termsContainingAllJavaTokens("if", "then")) |
| Eternal ID of this version: | #3000482/1 |
| Text MD5: | 49d34a10ce9c4958f199e8e1404e05a9 |
| Author: | someone |
| Category: | |
| Type: | New Tinybrain snippet |
| Gummipassword: | smart-bot-for-user |
| Uploaded from IP: | 178.3.148.72 |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-19 00:35:27 |
| Source code size: | 2046 bytes / 52 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 626 / 150 |
| Referenced in: | [show references] |