Now You Can Work in C with Only BASIC Knowledge

rbanffy1 pts0 comments

C Source BASIC_C - Computer Ads from the Past

Computer Ads from the Past

SubscribeSign in

C Source BASIC_C<br>Now You Can Work in C with Only BASIC Knowledge<br>Jul 21, 2026

Share

From the November/December 1983 issue of PC Tech Journal magazine<br>The Company

According to opencorporates, C Source, Inc was incorporated on October 17th, 1983. Gene W. Brown was the president of the company, based on an article in the February 19, 1985 issue of PC Magazine. Tom Hogan worked as both a senior programmer and Marketing Vice President. When I was researching this post, I found a couple of letters to the editor that Hogan wrote about C Source products. Hogan wrote on his LinkedIn, “I also helped code some of the Basic_C Library and some other products. C Source was a garage startup.”<br>The company was dissolved on May 19, 1996.

From the May 29 1984 issue of PC Magazine<br>The Product

I won’t lie, this ad was a pain in the butt to research. My search turned up thousands of unrelated results. I was able to sift through and find a couple of things.<br>What was BASIC_C? I found a good summary in an ad from PC Brand:<br>If you’re getting the message that switching from BASIC to C would be prudent, you’re about to discover that it’s back to basics of a different sort. BASIC is fat with hidden functions that stripped down C just doesn’t have.<br>Gone are all those handy string manipulators like LEFTS. MIDS. STRINGS, etc (although our library offerings add them back). In C, when you reach for even simple invocations like INPUT or PRINT AS, X% - well, sorry to disappoint, but underlying such expressions in BASIC are bulging macros which C cannot have if it is to keep its slim profile.<br>But now comes BASIC-C and all your old favorites are back. Someone has written the full set of C functions to mimic BASIC’s vocabulary, from ABS to WRITE. Over 80 routines to open and close files, “field” file buffers, convert their contents from and to strings (the CV? and MK? series), peek and poke, print using, clear screen, “instr”, on error goto...they’re all there. Some have reworked names and syntax to suit C, but all are written as one-to-one functional equivalents to the familiar features of BASIC. And they are documented one to a page in alphabetical sequence like the Microsoft manual for added familiarity.<br>So with BASIC-C, when you’re thinking INPUT, go ahead. Use it. Or LPRINT or LOCATE or INKEY. But without BASIC-C, you will find that every line of code plunges you back in the C texts to figure out how to write it. Someday you’ll want to, but for now, BASIC-C will start you programming quickly at the statement level so that you can concentrate on C’s larger concepts.<br>There’s a bonus: an unusually well written manual with a first rate chapter comparing how BASIC and C go about their tasks Without question, BASIC-C will ease your transition to C.

Happily, I was able to find a review of BASIC_C in the October 1984 issue of PC Tech Journal. Ernest Tello wrote an article for this issue entitled “BASIC To C” where he examined two tools developers were using to convert their BASIC code to C. Here is the BASIC_C section:<br>C Source Inc. has developed a product intended specifically for programmers with a working knowledge of BASIC who want to develop programming ability with the C language. It is a library for use with several C compilers on the IBM PC (currently Lattice, DeSmet, and Computer Innovations are supported) that implements many of the familiar BASIC statements and structures in the C environment. The purpose of this library is to ease the process of learning C for BASIC programmers, and to aid in the conversion of BASIC programs to C. It will not, however, enable a BASIC programmer to produce C programs without any knowledge of the C language. The BASIC_C Library manual is written with the C novice in mind and is one of the better introductions to C available, particularly for those familiar with the details of BASIC.<br>Version 1.0 of BASIC_C has about 75 functions in the library. Table 1 lists the corresponding BASIC and BASIC_C functions. No math functions are included. The reason for this, according to a brochure issued by C Source, is that math functions belong in a standard library, ‘”and only the Lattice/Microsoft C compiler does not have them.” Version 2.12 of the Lattice compiler, which includes math functions, is now available.

For writing programs that do not require trig, log, exponential, or random functions, however, the BASIC_C Library is a welcome addition to the C environment for both the experienced C programmer and the novice. A loan payment calculation program serves as an example of a BASIC program (listing 1) translated to C (listing 2) using the BASIC_C Library. The example illustrates the conversion of a GOSUB into externally defined functions. It does not use any arrays, pointers, or the COLOR function.

Generally speaking, documentation for BASIC_C helps a BASIC programmer who has studied C syntax translate programs...

basic basic_c library functions from source

Related Articles