home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************/
- /* */
- /* Amiga C Encyclopedia (ACE) V3.0 Amiga C Club (ACC) */
- /* ------------------------------- ------------------ */
- /* */
- /* Book: ACM Amiga Amiga C Club */
- /* Chapter: Hints And Tips Tulevagen 22 */
- /* File: Example2.c 181 41 LIDINGO */
- /* Author: Anders Bjerin SWEDEN */
- /* Date: 92-05-07 */
- /* Version: 1.10 */
- /* */
- /* Copyright 1992, Anders Bjerin - Amiga C Club (ACC) */
- /* */
- /* Registered members may use this program freely in their */
- /* own commercial/noncommercial programs/articles. */
- /* */
- /***********************************************************/
-
- /* This program will print "Hello!" in the CLI window if */
- /* started from CLI, or the text will be printed in a special */
- /* window that is automatically opened if run from workbench. */
-
- void main();
-
- void main()
- {
- printf( "Hello!\n" );
-
- /* Wait for a while: */
- Delay( 5 * 50 );
- }
-