Conditional structures: Difference between revisions
Content deleted Content added
ReeceGoding (talk | contribs) m →ifelse |
Realize in F# |
||
Line 2,374: | Line 2,374: | ||
test(_) -> equal.</lang> |
test(_) -> equal.</lang> |
||
=={{header|F_Sharp|F#}}== |
|||
<lang fsharp> |
|||
printfn "%s" (if 3<2 then "3 is less than 2" else "3 is not less than 2") |
|||
</lang> |
|||
{{out}} |
|||
<pre> |
|||
3 is not less than 2 |
|||
</pre> |
|||
=={{header|Factor}}== |
=={{header|Factor}}== |
||
There are many conditional structures in Factor. |
There are many conditional structures in Factor. |