| Title: | Atari ST, TT, & Falcon |
| Notice: | Please read note 1.0 and its replies before posting! |
| Moderator: | FUNYET::ANDERSON |
| Created: | Mon Apr 04 1988 |
| Last Modified: | Tue May 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1433 |
| Total number of notes: | 10312 |
Hello all you CoNnect guru's - is this a bug or is it me being stupid.
I was playing with the Shell CoSHy and tried the following:
>> alert 1 beware ! and
>> alert 1 "beware"
Both of these caused a 2 bomb crash. I rebooted with no ACCs or
Auto-folder programs - still bombs. I expext it to create a GEM box
with an ICON for whatever '1' equates to and the message beware.
Norman
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1398.1 | Programme and Programmer buggy :-) | EDDF10::ECKEL | No sports. | Mon Jan 31 1994 07:25 | 21 |
Hello Norman,
I agree with you that the described behaviour is a CoShy bug, and I'll
tell Wolfgang about it.
But it is the reaction to a syntax error you made in you alert-command.
alert expects a correctly formatted string for an alert box as second
parameter, from memory (no docu in the office :-)) such as
alert 2 "[1][ This is an | alert ][ Retry | Abort ]"
where the first parameter gives the number of the default button, the
number in the first pair of brackets the icon for the alert box, the
parameter in the second pair of brackets contains the text to be
displayed (multiple lines separated by "|") and the third the texts for
the buttons, separated by "|", too.
But as I stated above, CoNnect shouldn't crash if you don't do it
right.
Regards, Peter.
| |||||
| 1398.2 | No CoNnect bug, a TOS bug. | EDDF10::ECKEL | No sports. | Mon Jan 31 1994 08:32 | 13 |
Hello Norman,
re .0
the bug you described is completely normal and nothing Wolfgang can fix
- it's a TOS bug. CoNnect gives the parameters you use for the alert
command to form_alert() without any change, and TOS throws bombs. The
only way out would be to perform a syntax check before giving the
parameter to TOS, and that's something Wolfgang surely won't do ...
Regards,
Peter.
| |||||
| 1398.3 | I goofed-who needs syntax :-) | KERNEL::BLAND | Norman Bland 833 3797 CSC, Basingstoke | Mon Jan 31 1994 15:23 | 4 |
Thanxs Peter. Clearly I did not understand the required syntax but I do
now.
Norman
| |||||