BBS: Inland Empire Archive Date: 03-18-93 (10:57) Number: 181 From: CORNEL HUTH Refer#: NONE To: STEVE READ Recvd: NO Subj: Re: C TRANSLATIONS Conf: (3) Dr_Debug
BF> Basic's "PEEK" and "POKE" are functionally equivilent SR> to C pointers for SR> I doubt even you would try to build a linked list using PEEK and POKE. VARSEG(), SSEG(), SADDR(), VARPTR(), and SEG are all pointer-use functions in QuickBASIC. PEEK/POKE are not the same as pointers (that really should be obvious). Constructing linked-lists in BASIC is simple (because it is simple); that too would be obvious if one simply understood the language. Pointers are not necessary, though they could be used if one knew no other way. SR> While it's possible to about anything with most languages, you don't SR> gain anything using a screwdriver to pound nails. Jeez, where was C when I was rebuilding the fence last week? I sure could have used a screwdriver, er, hammer, er, just what exactly is your point? chh --- Freedom 7 * Origin: [Fortieth Floor/2400@1(210)684-8065,1700-0900cst] (1:387/800.8)
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