File: snglfunc.bas

package info (click to toggle)
bwbasic 2.20pl2-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 1,196 kB
  • ctags: 1,251
  • sloc: ansic: 20,987; makefile: 115
file content (15 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

rem ----------------------------------------------------
rem SnglFunc.BAS
rem ----------------------------------------------------

Print "SnglFunc.BAS -- Test Single-Line User-defined Function Statement"
Print

Def Sum( x, y ) = x + y

Print
Print "The sum of 6 and 4 is "; Sum( 6, 4 )

Print "Did it work properly?"
End