GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/_Archive/CST1794/ExampleFiles/2007.02.21/ |
Upload File : |
' A program to show a better use of an array. ' ' Note that Liberty Basic allows you to use arrays up to size ' 10 without dimensioning then with the dim statement. ' It is still a good idea to dim any array you use. Even if it ' is under the "magic" size of 10 ' Note that instead of using the number 5 (or any other number) ' to dimension and array it is best to use a variable as below: ' Input NAMESIZE names NAMESIZE = 20 dim name$(NAMESIZE) for I = 1 to NAMESIZE input "Enter a name: ";name$(I) next I ' Display the NAMESIZE names for I = 1 to NAMESIZE print name$(I) next I ' By using NAMESIZE you can now easily change the size of the array ' by changing only one number (the value of NAMESIZE). ' This makes it much easier to change array size throughout your ' program.