TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BRIAN MCLAUGHLIN
date: 1998-05-08 23:38:00
subject: Re: PB to C?

From: brianm@ims.com (Brian McLaughlin)
Subject: Re: PB to C?
 
Scott Vetter  writes:
|> Since PB doesn't have native OS/2 support, is there a program which
|> will take PB (or any old basic) and create "C" program source?
 
There is a shareware product, called OmniBasic, that takes
BASIC source and outputs ANSI C code that can be compiled
using a GNU-licensed C compiler that was ported to OS/2
from the UNIX world (I forget the name right now of the
ported compiler). Since it's ANSI C, I presume that any
commercial C compiler for OS/2 would accept the code, too.
 
The "catch" is that OmniBasic accepts a very restricted
set of BASIC syntax compared to PB, so your PB code might
require a LOT of tweaking, and probably some major work-arounds
to make it OmniBasic compliant. Then again, if it's simple
code, maybe not.
 
Liberty BASIC also has an OS/2 version of its compiler.
It is a beta version, and can be d/l from the Liberty
BASIC home page. It doesn't produce C code, though.
 
--
Brian McLaughlin, Technical Writer  |"Thanks to the Internet, misinformation
Integrated Measurement Systems, Inc.| now travels faster than ever before!"
Beaverton, OR, USA                  | ---- Standard disclaimer applies ----
 
*** QwkNews (tm) v2.1
 * [TN71] alt.lang.powerbasic  POWER_BAS Gateway
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/560.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.