home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / BASIC / POWBASIC / LIBRARY4 / APLIB.ZIP / PWDEMO.PW < prev    next >
Text File  |  1990-08-20  |  2KB  |  49 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  7.         ^                                                      ^
  8.         ^        ITEM {                                        ^
  9.         ^                                                      ^
  10.         ^           NUMBER {            DATE {                 ^
  11.         ^                                                      ^
  12.         ^                                                      ^
  13.         ^       TO/FROM {                   AMOUNT {           ^
  14.         ^                                                      ^
  15.         ^                                                      ^
  16.         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17.  
  18. ' Notes:
  19. '                        TO PAINT A POP-WINDOW:
  20. '                         ====================
  21.  
  22. '     Open an ASCII text-file like this one, naming it *.PW -- and draw
  23. '     the window like the above by framing it with carrots (well, OK -- 
  24. '     carats). Type in any text you want to show and then place the start 
  25. '     of each entry filed with a left brace. After the box you can put notes 
  26. '     to yourself and stuff like this -- I like a guide line to measure 
  27. '     fields by ...
  28. '
  29. 12345678901234567890123456789012345678901234567890123456789012345678901234567890
  30.  
  31. '     Then put a "\" (backslash) right at the margin as below, and follow it 
  32. '     with the name of each field and its mask-string (as in PRINT USING 
  33. '     statements). These will become additional DATA lines. Of course, the 
  34. '     names of the fields will also have to appear in your BASIC program as 
  35. '     string literals (in quotes) as in the Demo -- specifically they will 
  36. '     be arguments for PWSETUP ().
  37. '
  38. '     Finally, save the file, compile PWW.BAS and use it to create an .INC 
  39. '     file from your .PW file.
  40.  
  41.  
  42. \
  43. TYPE OF TRANSACTION,"\              \"
  44. NUMBER,"\   \"
  45. DATE,"\      \"
  46. TO/FROM,"\                \"
  47. AMOUNT,"$######.##"
  48.  
  49.