
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | Converts QB to C & more |
Author: | Mario Stipcevic, Various |
Uploader: | lombi iprimus com au (Lorence Lombardo) |
Type: | dev/basic |
Version: | 3.41 |
Architecture: | m68k-amigaos |
Date: | 2009-10-19 |
Download: | dev/basic/qb2c.lha - View contents | Readme: | dev/basic/qb2c.readme |
Downloads: | 1042 |
|
[3rd upload]
QB2C is a package which makes possible execution of BASIC programs
under most of the UNIX systems provided that a C compiler is available
on the system. It essentially consists of the BASIC-to-C translator
(qb2c) which translates BASIC code into C code, graphics included.
The BASIC syntax largely follows Microsoft's (R) QuickBASIC (C) syntax.
Normal BASIC graphics is now output to X11 console, therefore X11
is also required. Additional possibility to mix BASIC and C code
within the single program file makes QB2C more than just a translator:
it can serve as a tool for easy C programming, especially of small
programs and compiled substitutes for shell scripts.
QB2C Usage:-
-i or -int => implicit integers i*,j*,k*,l*,m*,n* or upper case
-d or -double => all floats -> double
-c64 or -C64 => C-64 specific syntax, switches on -b flag also
-p or -post => do not perform postprocessing varnames
-l or -long => all integers (except short)-> long
-b or -bcpp => insensitive to case & spacing in QBASIC text
-a or -ansi => OBSOLETE and NOT USED
-c or -C => allows C text lines commented with 'C '
-m or -M => disallow logical expr. in math. expression
-w => AND, OR operate bitwise
-t or -T => INKEY_S is dead (<termios.h> etc. not specified)
-I => INKEY_S is of sample type (no internal loop)
-n or -N => To supress SHELL command interpreter: all cmds literal
-u => Do not update SCREEN after every LINE, PSET, etc.
-s => Strip type sufixes from variable and function names
-D => implicit doubles d*, D*
-r => integer fractions became double: '/' -> '/ (double)'
-v => print version and exit
-g => print debug messages (expert)
-A => convert array arguments to integer as in true BASIC
-L => set LMAX other than default (1024), must be 1-32767
-P => treat PRINT as print to the current graphics screen NOT OPERATIONAL
-col => default LINE color is the foreground (else the last set color)
-B => maximum compliance with BASIC: -A -r -b -P -I -col -w
-h, -? => print this help message
Feeling bored ? :)
Why not check out this URL ?
http://home.iprimus.com.au/lombi/1/homepage.htm
|
Contents of dev/basic/qb2c.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 9517 18072 52.7% -lh5- df6c Oct 5 15:35 bcpp
[generic] 3650 7116 51.3% -lh5- 3490 Oct 13 18:40 calib
[generic] 32696 83039 39.4% -lh5- 2b81 Oct 5 15:31 libqbX11.a
[generic] 43891 120797 36.3% -lh5- 8fcd May 4 2000 manual.txt
[generic] 91835 215536 42.6% -lh5- db42 Oct 5 15:35 qb2c
[generic] 1344 2424 55.4% -lh5- 25c2 Oct 13 18:56 qb2c.readme
[generic] 462 1069 43.2% -lh5- 9ff3 May 4 2000 src/animate.bas
[generic] 2139 4209 50.8% -lh5- 9061 Nov 17 1999 src/ANNOUNCEMENT
[generic] 102 119 85.7% -lh5- c24e Oct 5 15:31 src/bcc
[generic] 4915 14387 34.2% -lh5- a2da Nov 17 1999 src/bcpp.c
[generic] 26 26 100.0% -lh0- d728 Oct 5 15:31 src/bhelp
[generic] 354 638 55.5% -lh5- 9cef Nov 27 1998 src/bhelp.bas
[generic] 126 193 65.3% -lh5- a5a5 Oct 5 15:31 src/brun
[generic] 713 1634 43.6% -lh5- e5ae Mar 17 1999 src/button.bas
[generic] 1220 2855 42.7% -lh5- fb00 Jan 14 1997 src/calib.c
[generic] 412 1273 32.4% -lh5- 2987 Oct 5 15:26 src/doall
[generic] 422 1318 32.0% -lh5- 5264 Mar 29 1999 src/doall_aix
[generic] 390 1199 32.5% -lh5- 6737 Mar 29 1999 src/doall_hp
[generic] 408 1310 31.1% -lh5- a220 Mar 29 1999 src/doall_osf
[generic] 381 1115 34.2% -lh5- 4593 Mar 29 1999 src/doall_sun
[generic] 2426 10668 22.7% -lh5- 386f Sep 29 1997 src/gifdecode.c
[generic] 2821 9707 29.1% -lh5- 5b02 Jan 14 1997 src/gifencode.c
[generic] 361 724 49.9% -lh5- 9cae Mar 29 1999 src/graphic.bas
[generic] 890 1825 48.8% -lh5- c58c Nov 17 1999 src/IAFA-PACKAGE
[generic] 291 643 45.3% -lh5- ccaf Mar 29 1999 src/Makefile
[generic] 43891 120797 36.3% -lh5- 8fcd May 4 2000 src/manual.txt
[generic] 1047 3153 33.2% -lh5- f71c Jan 14 1997 src/pickpalette.c
[generic] 656 1331 49.3% -lh5- 5652 May 4 2000 src/qb2c-3.41.lsm
[generic] 37970 152203 24.9% -lh5- 3617 Apr 30 1999 src/qb2c.bas
[generic] 55932 249115 22.5% -lh5- 8f75 May 4 2000 src/qb2c.c
[generic] 1048 2034 51.5% -lh5- 873c Nov 17 1999 src/README
[generic] 438 820 53.4% -lh5- 8d72 Apr 14 1998 src/request.bas
[generic] 11015 45432 24.2% -lh5- 01eb Jan 11 1998 src/rotated.c
[generic] 105 138 76.1% -lh5- f152 Oct 5 15:31 src/run
[generic] 648 648 100.0% -lh0- c8c1 Mar 17 1999 src/toon.gif
[generic] 25359 98559 25.7% -lh5- a085 Mar 29 1999 src/x11int.c
[generic] 415 895 46.4% -lh5- 5d38 Apr 14 1998 src/xtest.bas
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 37 files 380316 1177021 32.3% Oct 18 21:16
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |