To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
max EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
max Example
10 ! This is your basic array usage.
20 DIM A(1:4)
30 DATA 5, 6, 7, 3
40 RESTORE
50 READ A(*)
60 PRINT "The maximum value in the array is";MAX(A(*))
70 END