File: mlifthen.bas

package info (click to toggle)
bwbasic 2.20pl2-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,764 kB
  • sloc: ansic: 21,002; makefile: 80
file content (16 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

rem -------------------------------------------------
rem mlifthen.bas -- Test MultiLine IF-THEN statement
rem -------------------------------------------------

Print "MLIFTHEN.BAS -- Test MultiLine IF-THEN-ELSE Constructions"

If 3 = 4 then
   Print "The Condition is true."
   Print "And it still is true."
Else
   Print "The condition is false."
   Print "And it still is false."
End If

Print "This concludes our test."