🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
3 messages
3 total messages Started by Mitch Stein Thu, 13 Dec 1990 13:55
Interpretation of Guru numbers
#7328
Author: Mitch Stein
Date: Thu, 13 Dec 1990 13:55
11 lines
889 bytes
	Help,

	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.

				MITCH
Re: Interpretation of Guru numbers
#7330
Author: 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
Re: Interpretation of Guru numbers
#7332
Author: Mathew W. Pierce
Date: Fri, 14 Dec 1990 23:30
23 lines
1815 bytes
In article <115091@philabs.Philips.Com>, ms1@philabs.philips.com (Mitch Stein) writes:
> 
> 	Help,
> 
> 	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.
> 
> 				MITCH

I too have used PCQ very much and have encountered a few gurus.  The guru that
you are experiencing, #00000003, is a trap code for an uneven addressing error.
The second number (002398D8) is that address of the error solving task, according to my "Amiga C for Advanced Programers" manual, the only address I know of to
solve the error is the address of my left mouse button :^)  I used PCQ for everyproject in my data structures class, so I know that it works, I think that the 
compiler is a littel loose on some checking, so it'll let things slide and guru
at runtime.  If you can't solve the problem, I would like to help, I'm no 
expert, but I am familiar with the package.  So email me some code if you like
and I'll see if I can figure it out with you.

-Mathew Pierce
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads