Turbo Basic 1.1.


Turbo Basic 1.1. - . 40


.
-
ALT-F10.
  .. , .. TRON
TROFF ,
.,, :
10 GOTO 30
20 TRON
30 X=Y+X
40 TROFF
50 END
.. -
, , TRON 20 6 -
. ,.. /
,
TRON, .
, .., :
[30] [40]
.

------
10 X=0:Y=1:Z=2
20 GOTO 40
30 TRON
40 X=Y+Z
50 PRINT
60 TROFF
70 END


UBOUND
--------------

UBOUND , -
------- ( )

UBOUND([,])
----------

- , ;-
--------- 1 .
, LBOUND.
. LBOUND
OPTION BASE

------
DIM %(1900:2000)
FOR %=LBOUND(%) TO
UBOUND(%)
PRINT " (":%;")";
%(%)
NEXT %
-194 -