mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-16 05:33:25 +00:00
ab975b611c
These are the samples from ORCA/C 2.1.0, converted to LF line endings.
35 lines
782 B
C++
35 lines
782 B
C++
/*****************************************************************
|
|
*
|
|
* HyperCard XCMD
|
|
*
|
|
* This sample is a framework program, showing the essential parts
|
|
* of a HyperCard XCMD.
|
|
*
|
|
* For complete details on the requirements for HyperCard XCMDs,
|
|
* see the HyperCard technical documentation on the System 6.0
|
|
* CD ROM.
|
|
*
|
|
* Build this program using the script xcmd.make. This script has
|
|
* quite a few comments about the build process, so it's worth
|
|
* loading the scrept and reading the comments.
|
|
*
|
|
* By Mike Westerfield
|
|
*
|
|
* Copyright 1993
|
|
* Byte Works, Inc.
|
|
*
|
|
*****************************************************************/
|
|
|
|
#pragma keep "xcmd"
|
|
#pragma lint -1
|
|
#pragma xcmd main
|
|
|
|
#include <HyperXCMD.h>
|
|
#include <misctool.h>
|
|
|
|
void main (XCMDPtr parm)
|
|
|
|
{
|
|
SysBeep();
|
|
}
|