home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Applications
/
PICSee Dust 1.01
/
Tertiary Source
/
SimpleError.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-11-05
|
399 b
|
18 lines
|
[
TEXT/CWIE
]
#include "SimpleError.h"
#define kEmptyStr "\p "
short SimpleError(short alertID, short strID, short strIndex) {
Str255 alertStr;
GetIndString(alertStr, strID, strIndex);
return(SimpleMsg(alertID, alertStr));
} // END SimpleError
short SimpleMsg(short alertID, Str255 msg) {
InitCursor();
ParamText(msg, kEmptyStr, kEmptyStr, kEmptyStr);
return(Alert(alertID, NULL));
} // END SimpleMsg