Conditional structures/J: Difference between revisions
Content added Content deleted
m (→if-then) |
|||
Line 3: | Line 3: | ||
===if-then=== |
===if-then=== |
||
[http://www.jsoftware.com/help/dictionary/cif.htm if.] is a simple conditional structure in J. As other control words, <code>if.</code> can be used only within definitions of |
[http://www.jsoftware.com/help/dictionary/cif.htm if.] is a simple conditional structure in J. As other control words, <code>if.</code> can be used only within explicit definitions (of verbs, adverbs or conjunctions). |
||
<lang j> test=: monad define |
<lang j> test=: monad define |