home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / easylx.zip / EXAMPLE2.SEQ < prev    next >
Text File  |  1991-09-26  |  2KB  |  62 lines

  1. : EXAMPLE2
  2.     MESSAGE(   5   5   5   5   5
  3.               8  10
  4.             " sequence. The loop executes three times."
  5.             " to automate an acquisition, analysis, and graphics"
  6.             " This example sequence uses a DO LOOP structure"
  7.             " structures such as DO LOOPs and BEGIN UNTIL LOOPs."
  8.             " Easyest LX's capabilities include programming" 0  )
  9.     TEXT(  290  291    0    0    0
  10.              12  1
  11.             " Press any key to continue ..." 0  )
  12.     WAIT(  1000  1  0  )
  13.     CLR(   8  0  )
  14.     BEGIN(  0  )
  15.         A/D(  1  1 10000.    0    0
  16.                  .00  .00    0  128  1
  17.                  1    0    0  1  1
  18.                  0  )
  19.         PLOT(  26   7  10  13  1
  20.                  1  1    0  1  1
  21.                  1    0  1    0    0
  22.                 " *" 0  )
  23.         INTEGRATE(  26    0  0  )
  24.         PLOT(  28   7   9  14  1
  25.                  1  1    0  1  1
  26.                  1    0  1    0    0
  27.                 " *" 0  )
  28.         TEXT(  270  180    0    0    0
  29.                 14  1
  30.                 " Integral" 0  )
  31.         TEXT(  245   44    0    0    0
  32.                13  1
  33.                " Collected Wave" 0  )
  34.         WAIT(  2000  0  0  )
  35.         LOOPTEST( 27.   1   3   3.     0
  36.                  2   0  )
  37.     END(  0  )
  38.    PCX(    0  10  1
  39.            " FLOW1.PCX   " 0  )
  40.    MESSAGE(   5   5   5   5   5
  41.              9 10
  42.            " is shown above."
  43.            " acquisition, analysis, and plotting loop"
  44.            " portion of this flow chart showing the"
  45.            " a flow chart for program documentation. The"
  46.            " We've clicked on the FLOW icon to generate" 0  )
  47.     TEXT(  259  297    0    0    0 
  48.              12  1 
  49.             " Press any key to continue ..." 0  )
  50.     WAIT(  1000  1  0  )
  51.     MESSAGE(   5   5   5   5   5
  52.               8  10
  53.             "  "
  54.             "  "
  55.             " Press any key to continue...."
  56.             "  "
  57.             " Example Application Complete." 0  )
  58.     WAIT(  1000  1  0  )
  59.     CLR(   8  0  )
  60. ;
  61.  
  62.