ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Turbo Basic 1.0
    카테고리 없음 2020. 3. 2. 06:21
    Turbo Basic 1.0

    On Sunday January 4, 2015 ouhker said:'COM2INC2.BAS'corrected and modified on Jan 4, 2015'1) There is some bug in the original COM2INC.BAS, e.g. 'O' (oh) mixed with '0'.' 2) LASTBYTE is NOT read in, LASTBYTE -1 repeated.' This program converts COM files to $INCLUDE files with the Turbo'Basic $INLINE meta-command for easy insertion in Basic programs.DEFINT A-Z'All variables will be integersF$=COMMAND$'Check to see if there's a command lineWHILE F$='PRINT'This program will convert COM files to $INCLUDE files'PRINT'for use with Turbo Basic. The default file type of'PRINT'the source file is COM.

    The default file type of the'PRINT'output file is INC. You may override either default'PRINT'by entering a specific file-type specification.' PRINT'If you enter no name for the output file, it will be'PRINT'named the same as the input file, but will have a file'PRINT'type specification of INC.' LINE INPUT'Enter the name of the file to convert: ';F$WENDIF COMMAND$=' THENLINE INPUT'Enter the name of the desired output file: ';O$END IFIF INSTR(F$,'.' )=0 THEN F$=F$+'.COM' 'fix input specIF O$=' THENO$=LEFT$(F$,INSTR(F$,'.&a​mp;q​uot;))+'INC' 'fix output spec,ELSEIF INSTR(O$,'.'

    )=0 THEN O$=O$+'.INC' 'both waysEND IFOPEN'R',#1,F$,1 'input file will be read one byteFIELD #1,1 AS A$ 'at a time into A$LASTBYTE&=LOF(1) 'end of file positionOPEN'O',2, O$ 'output file is openedREM PRINT #2, ';PRINT #2, 'SUB INLINE 'FOR I&=1 TO LASTBYTE&GET 1,I&X%=ASC(A$)IF ((I&-1) MOD 10=0) THEN PRINT #2,':PRINT #2,' $INLINE ';'PRINT #2,'&H';HEX$(X%)​​;IF LEN(HEX$(X%))= 1 THEN PRINT #2,'&H0';HEX$(X%​​); ELSE PRINT #2,'&H';HEX$(X%)​​;IF I&=LASTBYTE& THEN PRINT #2,'; ELSE IF ((I&-1) MOD 109) THEN PRINT #2,',';NEXT I&PRINT #2, 'PRINT #2, 'END SUB'PRINT'Conversion complete. ';LASTBYTE&;' bytes read.' PRINT O$;' contains ';LOF(2);' bytes.'

    How to install Turbo C Step 1Step 2If any previous version of 'Turbo C' install in your computer, then first of all uninstall that.Step 3Extract downloaded 'Turbo C 3.2.zip' file.Step 4Run 'setup.exe' file.Step 5Follow the setup instructions.Step 6If any error occurs, please check the.2. How to use Turbo C Step 1Double click on 'Turbo C' shortcut link on the desktop.Step 2If you want run turbo c on full screen simply click on button 'Run Turbo C'Step 3'OR' If you not want full screen mode uncheck the 'Full screen mode' check box and click on button 'Start Turbo C'Full Screen Mode -Window Mode -3. System Requirement Operating SystemPre-RequirementWindows 10, 8.1 and 8No Pre-RequirementWindows 7, Vista and XP.NET 4.5 Framework Required4.

    Turbo Basic Free Download

    Other Useful Links.

Designed by Tistory.