Not: Difference between revisions
From MultiCharts
m
→Examples
No edit summary |
m (→Examples) |
||
Line 17: | Line 17: | ||
Print("10 > 1 is ",condition1, spaces(5), "Not 10 > 1 is ", condition2); | Print("10 > 1 is ",condition1, spaces(5), "Not 10 > 1 is ", condition2); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Which gives the following output in the PowerLanguage Editor log: | |||
<syntaxhighlight> | <syntaxhighlight> | ||
10 > 1 is TRUE Not 10 > 1 is FALSE | 10 > 1 is TRUE Not 10 > 1 is FALSE | ||
Line 29: | Line 29: | ||
Print("10 > 100 is ",condition1, spaces(5), "Not 10 > 100 is ", condition2); | Print("10 > 100 is ",condition1, spaces(5), "Not 10 > 100 is ", condition2); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Which gives the following: | |||
<syntaxhighlight> | <syntaxhighlight> | ||
10 > 100 is FALSE Not 10 > 100 is TRUE | 10 > 100 is FALSE Not 10 > 100 is TRUE |