call absolute()

 BBS: Inland Empire Archive
Date: 03-21-92 (22:51)             Number: 200
From: ROBBIE CHURCH                Refer#: NONE
  To: MICHAEL ORCHEKOWSKI           Recvd: NO  
Subj: call absolute()                Conf: (2) Quik_Bas
MO>  Does anyone know why QuickBASIC (and the interpreter) chokes on the CALL
MO>  ABSOLUTE () command? It seems every time I try to compile a program with
MO>  this command in it, I get a 'sub not found error' (#36 I believe). I
MO>  have also heard that there is an $INCLUDE file or .OBJ file that will
MO>  allow this to be done. I have the following routine:

   You need to include QB.BI for QuickBASIC.  I believe QBASIC has it built
   right in.  Also, you're calling syntax wasn't correct.  After the
   argument list, you need to include the offset of the array holding the

   CALL ABSOLUTE (argument1,argument2,...  ,VARPTR(AsmProg(1)))

   Hope this helps.


 * SLMR 2.1a * Real programmers use COPY CON MYPROG.EXE

--- Maximus 2.01wb
 * Origin: Mostly Mail (1:105/319)
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