home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / datafiles / text / c_manual / amiga / appendices / examples / amigaexamples.doc next >
Text File  |  1995-02-27  |  631b  |  29 lines

  1. 1    AMIGA
  2.  
  3. 1.1  INTRODUCTION
  4.  
  5. No examples in this chapter.
  6.  
  7.  
  8.  
  9. 1.2  HINTS AND TIPS
  10.  
  11. Example1
  12.   This example tell you if you have an American (NTSC) or
  13.   European (PAL) system.
  14.  
  15. Example2
  16.   This program will print "Hello!" in the CLI window if
  17.   started from CLI, or the text will be printed in a special
  18.   window that is automatically opened if run from workbench.
  19.  
  20. Example3
  21.   This program will not open any console window if run from
  22.   workbench. The disadvantage is of course that you can not
  23.   use any "console functions" such as printf().
  24.  
  25. Example4
  26.   This program tells you if it was run from workbench or
  27.   from a CLI window.
  28.  
  29.