home *** CD-ROM | disk | FTP | other *** search
-
-
- '
- ' GET-Sizer (June 20, 1990)
- ' Determines the size to dimension an array when using the GET command.
- '
- ' written by scott dhomas trenn
- ' 797 Mitchell Street, Fredericton, NB, E3B 3S8, CANADA
- ' INTERNET: wilkie@jupiter.sun.csd.unb.ca
- '
-
- REM $OPTION Y+,N-,FRAM:GET-Sizer
-
-
- DEFINT a-z
-
- WINDOW 1," GET-Sizer v90.06.20",(230,0)-(410,85), 2+16+256
-
- PRINT
- INPUT " # bitplanes : ",bitplanes
- INPUT " x1 : ",x1
- INPUT " y1 : ",y1
- INPUT " x2 : ",x2
- INPUT " y2 : ",y2
-
- arraysize = 2 * bitplanes * (y2-y1+1) * ((x2-x1)\16+1) +6
-
- PRINT
- PRINT " Dimension an INTEGER array with";arraysize/2;"elements."
-
- WHILE INKEY$ = "" : SLEEP : WEND
-
- WINDOW CLOSE 1
- END
-