home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 2 / hotmix_v02.iso / README.dir / README.true_basic < prev    next >
Text File  |  1992-10-16  |  4KB  |  115 lines

  1.         True BASIC Demo for X Windows & SG GL
  2.         -------------------------------------
  3.  
  4. To select demos by functional groups, type "roll" or ". ./roll" to open
  5. the main chooser window.  Clicking in the background of subwindows will
  6. bring you back to the main chooser window.
  7.  
  8. To create object files for the demos, copy the entire directory to your
  9. hard drive and type "make".
  10.  
  11. -------------------------------------------------------------------------------
  12.  
  13. The True BASIC Demo lets you create programs of up to 150 lines.
  14.  
  15. There are demos for most of the language's features 
  16. along with on-line manual pages ("./manpp/*") and a command list ("cmdlist")
  17. for help.  
  18.  
  19. The file "OVERVIEW" describes some of the features of the language
  20. and the file "TIPS" provides some useful hints for programming
  21. applications.
  22.  
  23. Probably the best way to become familiar with the language is to build
  24. the demos, run them, modify them, and then create your own programs.
  25.  
  26. -------------------------------------------------------------------------------
  27.  
  28. The file "./basic/tru" is the sampler version of True BASIC
  29. for X Windows.  
  30.  
  31. To make the demos, move to the demos directory and type "make".
  32.  
  33. You will see the makefile issuing commands to construct executables.
  34.  
  35. To run these programs, move to the appropriate directory and type the
  36. name of the executable (distinguishable from the source files which end
  37. in ".tru").
  38.  
  39. Type "make clean" to remove the executables.
  40.  
  41. -------------------------------------------------------------------------------
  42.  
  43. The "run" script allows you to run programs by just typing "run" and the
  44. program name.  This script references the environment variable TRU to 
  45. determine where the True BASIC language system resides.
  46. Normally, this environment variable would be placed in your ".profile".
  47.  
  48. To set up the environment variable TRU from the C shell, type:
  49.  
  50.     % setenv TRU <pwd>/basic/tru 
  51.  
  52. or from the Bourne shell:
  53.  
  54.     # TRU=<pwd>/basic/tru export TRU
  55.  
  56. where <pwd> is the directory into which you loaded the tape.
  57.  
  58. You may now use the script "run" to execute your own programs by typing:
  59.     
  60.     % run <pgm.tru>
  61.  
  62. For command line options, see the README file in the directory "./basic".
  63.  
  64. -------------------------------------------------------------------------------
  65.  
  66. The executables and source files in the subdirectories exhibit some
  67. of the capabilities of the True BASIC Development package for the 
  68. Silicon Graphics workstations including the Personal Iris and Indigo.  
  69.  
  70. The source files are ASCII files and end in ".tru".
  71.  
  72. Some of the demos do not check for redraw events and therefore do not 
  73. refresh the window when it is obscured.
  74.  
  75. The demo version does not include the Workspace icons, toolkits,
  76. BASIC-to-C utilities, debugging utilities, user interface, or the full 
  77. Language System itself.
  78.  
  79. -------------------------------------------------------------------------------
  80.  
  81. A summary of commands can be found in "./cmdlist" with the corresponding
  82. man pages in "./manpp".  To display a manpage, either copy the files in
  83. "./manpp" to "usr/catman/local/cat1" and type:
  84.  
  85.         man <cmd>
  86.  
  87. or move to the "./manpp" directory and type:
  88.  
  89.         man -d <cmd.z>
  90.  
  91. where <cmd.z> is any of the files in the directory.
  92.  
  93. -------------------------------------------------------------------------------
  94.  
  95. Not included with the demo/sampler package:
  96.  
  97.     * full language system for X 
  98.     * user interface
  99.     * True Windows for Motif or OPEN LOOK
  100.     * messaging capabilities for IPC
  101.     * utility for integrating C routines
  102.     * WorkSpace icons
  103.     * toolkit libraries and demos
  104.     * fortran, "other" BASIC converters
  105.     * CHAIN command for accessing the shell
  106.     * debugging libraries and tools
  107.     * technical support
  108.     * manuals
  109.  
  110. For more information contact:
  111.  
  112. True BASIC, Inc.                Tel. (603) 298-8517
  113. 12 Commerce Avenue                 Fax. (603) 298-7015
  114. West Lebanon, NH 03784                USA Country Code 011
  115.