home *** CD-ROM | disk | FTP | other *** search
- ; *****************************************************
- ; Example18.ftp
- ; =============
- ; This example shows the use of Numeric Variables and
- ; Mathematical functions
- ; -----------------------------------------------------
-
- NumVariable i
- NumVariable a
- NumVariable b
- NumVariable c
- NumVariable d
-
- Let I=100
- Let A=5
- Let I=I*A
- Message "I = %%I%%"
-
- Let I=0
- :Aftur
- Let I=I+1
- Message "I = '%%I%%' "
- if %%I%%<10 then
- goto Aftur
- endif
-
- Let a = 1
- Let b = 2
- Let c = 3
- let d=sin(a)*cos(b)+c
- Message "sin(a)*cos(b)+c = %%d%%"
-