Path: utzoo!mnetor!uunet!cbmvax!bryce
From: bryce@cbmvax.UUCP (Bryce Nesbitt)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Alerts
Message-ID: <3747@cbmvax.UUCP>
Date: 7 May 88 05:24:35 GMT
References: <421@hvrunix.UUCP>
Organization: Commodore Technology, West Chester, PA
Lines: 22
Keywords: what exactly is the Alert String definition

In article <421@hvrunix.UUCP> ahinds@hvrunix.UUCP (Alexander Hinds) writes:
>
>	I'm writing a program and I need to use alerts.

Why?  They are so obnoxious.
 
>...if I want more than one string to
>appear in my alert, do I link the various structures together via the
>last field?...
>...The Intuition manual says that this field is a byte long, but that's
>not long enough for a pointer....

The string that DisplayAlert() takes is just one big string:

	dc.b 	xx , xx , yy , 'this is the string' , 0 , 255
	dc.b	xx , xx , yy , 'this is the other string' , 0 , 0

So, x and y position.  The null terminated string.  The continuation byte of
255 on the first line indicates more data to come.  The 0 after the second
lines indicates the end.

There is no need for a pointer, since the next string is right there.