TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: SCOTT VETTER
date: 1998-05-10 08:29:00
subject: Re: PB to C?

From: Scott Vetter 
Subject: Re: PB to C?
 
Brian McLaughlin wrote:
>
> 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.
>
 
 
   Thanks for the info.  I'll check them out.  If the Basic to C
translater output or the input needs some work, I'll do it.  I'm tired
of waitting years for Power Basic to come out with an OS/2 version...
 
Scott
 
*** 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™.