home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / ICTARI03.ARJ / ictari.03 / GFA / TUTORIAL / GFA2.TXT < prev    next >
Text File  |  1989-07-29  |  5KB  |  89 lines

  1.      Subject: GFA Tutorial, The Editor
  2.           By: James Collett (Professor)
  3.  A Member Of: VIRTUAL INFINITY
  4.        Email: s6005146@oxpoly.ac.uk (or s6005146@brookes.ac.uk)
  5.      Address: Room N4, L.S.C.Collage, Wheatley, Oxford, OX9 1HX
  6.  Mono accnt.: bcc
  7.  
  8.  
  9.     Just  before we delve in,  a few shorts about the GFA  Basic  editor, 
  10.  which is different depending on whether you have version two or  version 
  11.  three  of the language.   The editor is fairly straight-forward  and  is 
  12.  basically a specialised word processor or text editor for the language.
  13.     When you first load the language you will find a blank screen  (where 
  14.  you  enter  your source) and the menu at the top.   If you  are  running 
  15.  version  two then the menu should span from Load/Save to  Run/Test.   If 
  16.  you  are running version three then this should be your basic menu  with 
  17.  an Atari symbol on the far left and a clock of the far right.
  18.  
  19.  
  20.  GFA 2 And GFA 3 Basic Menu
  21.  ==========================
  22.     Load  & Save should speak for themselves,  they load & save in  GFA`s 
  23.  unique  file structure or format,  sometimes called a tokenised  format. 
  24.  This is not only unique to GFA, but also unique to different versions of 
  25.  GFA.
  26.     SaveA & Merge also load and save but in a standard ASCII format which 
  27.  can  be loaded into a word processor,  another version of GFA  and  even 
  28.  some other versions of Basic.   You will Merge sources off this tutorial 
  29.  instead  of  loading  for that very reason,  so  this  tutorial  can  be 
  30.  compatible with various versions of GFA.
  31.     Merge is also used to append or merge two sources together.  When you 
  32.  Load  the previous contents of the memory are wiped!   If you   wish  to 
  33.  append two sources then Load or Merge the first,  move the cursor to the 
  34.  correct position and Merge the second - just like a word processor.
  35.     Llist prints the entire source currently in memory, assuming you have 
  36.  a printer connected and on line.
  37.     The  Block facility allows you to Copy,  Move and Delete sections  of 
  38.  the  source;  it  also  allows you to Write (SaveA)  and  Llist  (print) 
  39.  sections  of the program.   Before you can use it you must mark  out  or 
  40.  high-light the block.
  41.     Replace and Find allow you to either search for or search & replace a 
  42.  particular  string (piece of text) in the source.   Note that these  are 
  43.  case-sensitive and in GFA 2 you can only search for entire lines, in GFA 
  44.  3 you can search for sections of lines.
  45.     The next pair of buttons are used for paging up and paging down; this 
  46.  is very labour-saving if you have more that a couple of screens full  of 
  47.  text!
  48.     Insert or Overwrite works just like and word processor, note that GFA 
  49.  defaults to Insert.   The button above this is not spare,  but only used 
  50.  when on monochrome (high res).
  51.     Direct and Flip are both explained later this month.   Finally Run is 
  52.  used  to execute (interpret - discussed later) the source  currently  in 
  53.  memory.
  54.  
  55.  
  56.  GFA 3 Extras
  57.  ============
  58.     In GFA 3,  as well as this basic menu, there is also a clock and line 
  59.  indicator to the far right.  You can also use the line indicator to jump 
  60.  straight to a particular line of the source.
  61.     To  the far left,  the Atari symbol displays a GEM menu which  allows 
  62.  you  to run resident accessories among other things.   The  small  space 
  63.  under the Atari symbol indicates whether caps lock is on or not.
  64.  
  65.  
  66.  Direct Mode And Editor Mode
  67.  ===========================
  68.     Anything you type on the editor screen will not instantly be run  and 
  69.  will  be  added  to the source.   It is often  useful  to  directly  run 
  70.  something  without interfering with the rest of the program - may be  to 
  71.  test it before adding it to the source.
  72.     This  can  be  done by selecting Direct either from the  menu  or  by 
  73.  hitting <escape>.   GFA should now display an "OK >" prompt at which you 
  74.  can directly execute single lines (discussed this month).   To return to 
  75.  the editor either type 'edit' or hit <escape>.
  76.  
  77.  
  78.  GFA Editor Short-cuts
  79.  =====================
  80.     On  the editor mode,  as well as clicking on the menu buttons at  the 
  81.  top  you can also use the function keys to select a bottom  line  button 
  82.  and <shift> plus a function key to select a top line button.
  83.     Also  in  GFA 3,  on the direct mode,  you can use  <cursor  up>  and 
  84.  <cursor  down>  to re-call lines you have already typed  on  the  direct 
  85.  mode.
  86.  
  87.  
  88.  ---END---
  89.