Porting question & info

 BBS: Inland Empire Archive
Date: 06-10-92 (08:27)             Number: 117
From: TOM KIEHL                    Refer#: NONE
  To: JEFFERY FOY                   Recvd: NO  
Subj: Porting question & info        Conf: (2) Quik_Bas
Jeff, we'll try again...and again....

Just_about Equivalents:  note... nn is character string length.
        BASIC                            C
      ----------                     -----------
  DEF TYPE  BasicType           struct struct_name {
    intVar    as INTEGER          int int_varaiable;
    longVar   as LONG             long int long_variable;
    singleVar as SINGLE           float float_variable;
    dblVar    as DOUBLE           long float double_variable;
    strVar    as STRING * nn      char string_variable [nn];
 END TYPE                       };

There was a boo-boo in the last post just after the opening
brace. This should fix it.

TK>Tom Kiehl


 * SLMR 2.1a * For sale cheap... Write-Only Memory Chips.


--- TosScan 1.00
 * Origin: Carrie's Living Room - Largo, Florida USA  (1:3603/150)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET