🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7330

Re: Interpretation of Guru numbers

#7330
From: Robert Faulkner
Date: Fri, 14 Dec 1990 19:53
38 lines
2568 bytes
>	I,m using a public domain pascal compiler and while attempting
>to write my first program using arrays and strings although the source
>code compiles without errors when I try to run the program the system
>immediately GURU's with: 00000003.002398D8  What does it mean. Secondly
>This same program with slight modification runs fine on a PC using
>Turbo Pascal what could be the problem using PCQ.


Well for one PCQ does not support strings in the samne fashion that`
Turbo Pascal does.  The proper way to do this, would be to include the 
strings.i include file and then allocate string space for each string
you wanted to use.  This is much like C.  PCQ is not the best Pascal
to use but it will interface with the operating system nicely, (with a 
little work.)  You might want to read through the includes to get an
idea of how to allocate strings correctly, and then free the memory
when you are done.  To find out what the alert number means:

       00000003.002398D8
the first 8 characters are an alert number describing what went wrong,
I would look this up for you but I am at the school and would have to 
go home to get my Kernel Manuals, sorry.  The second 8 numbers is the 
address at which the error occured.  I think this is a corrupt memory 
location error but I could be and probably am mistaken. To really under-
stand all this go out and buy the Addison-Weseley ROM Kernel Manuals
(especially Includes and AutoDocs) and they will help you when you
find a problem like this.  ALSO, you might want to contact the author
of PCQ for info.

Enjoy programming the AMIGA, believe me it can be interesting ;-)


-- 

Robert Faulkner                              conan@ccwf.cc.utexas.edu
            ///                  Recursion:     Thinking
        \\\///    University of Texas                 about
         \\//   Amiga Computers                     Thinking
Technical Details
Message-ID: <41426@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
References: <115091@philabs.Philips.Com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
From: conan@ccwf.cc.utexas.edu (Robert Faulkner)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga.hardware
Subject: Re: Interpretation of Guru numbers
Message-ID: <41426@ut-emx.uucp>
Date: 14 Dec 90 19:53:08 GMT
References: <115091@philabs.Philips.Com>
Sender: news@ut-emx.uucp
Reply-To: conan@ccwf.cc.utexas.edu (Robert Faulkner)
Followup-To: comp.sys.amiga.tech
Distribution: na
Organization: University of Texas ccwf.cc.utexas.edu
Lines: 38
In-reply-to: ms1@philabs.philips.com (Mitch Stein)
Originator: conan@happy.cc.utexas.edu