Article View: comp.sys.acorn.tech
Article #286Re: Help message problems
From: TMOTA
Date: Mon, 09 Nov 1992 02:42
Date: Mon, 09 Nov 1992 02:42
32 lines
1556 bytes
1556 bytes
gpcec@westminster.ac.uk (Tom Kirby-Green) writes:
>wimp library - I figure its the ONLY way to learn ). Now the problem is I
>don't seem to be receiving Message_HelpRequest from the !Help app.
> This message no. is 0x502. Now I know I can pick up messages because
Are you sure? I though it was 0x501... and the Helpreply was 0x502 (or is
my memory failing me again?!)
---
An easy test to do is to put a debugging 'printf' into your message handler
and print out the recieved message numbers... I use
bbc_vdu(26); bbc_vdu(4); /* get the cursor in VDU4 mode at top left of scren*/
printf("Message number: %x", blah);
or you could just use the printf, and redirect your programs output to
a file
(in !Run, change
Run <Obey$Dir>.blah
to
Run <Obey$Dir>.blah > <Obey$Dir>.output
)
This way, you'll know *what* messages you're actually recieving, which is
always a good place to start working out why nothing's happening...
--
_________________ "I'd like to answer this question in two ways:
/____ _ _/_ __ First in my normal voice, and then
// / //_//_ /_/ in a silly, high-pitched whine." (Monty Python)
Technical Details
Message-ID:
<1992Nov9.024250.25751@cs.aukuni.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1 Newsgroups: comp.sys.acorn.tech Subject: Re: Help message problems Message-ID: <1992Nov9.024250.25751@cs.aukuni.ac.nz> From: jwil1@cs.aukuni.ac.nz (TMOTA) Date: Mon, 9 Nov 1992 02:42:50 GMT Sender: jwil1@cs.aukuni.ac.nz (TMOTA) Organization: Computer Science Dept. University of Auckland Lines: 32