BBS: Inland Empire Archive Date: 03-22-92 (07:53) Number: 185 From: DAVE CLEARY Refer#: 175 To: MATT HART Recvd: NO Subj: Fossil Info Conf: (2) Quik_Bas
In a message of <20 Mar 92 22:37:00>, Matt Hart (1:170/600) writes: > The problem is that VARPTR does not return the offset into VARSEG of a >simple string - it returns the address of the string descriptor. The 3rd >and fourth byte of the descriptor is the actual address: > reg.di = PEEK(VARPTR(FossInfo$)+2) Reg.di = SADD(FossInfo$) Doesn't PEEK only return an 8 bit value? Later Dave --- msged 1.99S ZTC * Origin: Home of The QBNews (fidonet.org 1:141/777.1)
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