home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
calculat
/
sm30a.zip
/
FUNCTION.SM
< prev
next >
Wrap
Text File
|
1993-11-14
|
162b
|
11 lines
# This is demo of defining function.
# simple and special first. e.g. f(0) first.
f(0) := 0
f(x_) := if(x>0, x)
f(t_) := if(t<0, -t)
f(2)
f(-2)
f(b)