home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _0395DF90924E453DBE1B5B5C807DFE7E < prev    next >
Text File  |  2003-03-07  |  2KB  |  64 lines

  1. { }
  2.  
  3. Description
  4.  
  5. { } does nothing; use it to reserve space or insert blank lines in the macro without stopping it. Quattro Pro continues running the macro command following { }.
  6.  
  7. See { ; } and {STEPON} for examples.
  8.  
  9. {;}
  10.  
  11. Syntax
  12.  
  13. {;String}
  14.  
  15. Description
  16.  
  17. { ; } lets you add explanatory remarks or comments to a macro. When Quattro Pro encounters this macro command, it skips over it.
  18.  
  19. { ; } is a convenient way to temporarily hide other macro commands, such as a branch to an incomplete macro.
  20.  
  21. Example
  22.  
  23. This example runs the _int_update subroutine, which calculates interest to date, then branches to the_print_inv subroutine to print the invoice. Notice how the comments embedded in the macro help make it easier to follow.
  24.  
  25. {; calculate interest to date}
  26.  
  27. {_int_update}
  28.  
  29. { }
  30.  
  31. {; print the invoice}
  32.  
  33. {BRANCH _print_inv}
  34.  
  35. Parameters
  36.  
  37. String    Numbers or letters up to 1020
  38.  
  39. { ? }
  40.  
  41. Description
  42.  
  43. { ? } pauses macro execution and lets you press function keys, access menus, and choose commands until Enter is pressed. At that point the macro resumes execution.
  44.  
  45. Since this command gives you complete program control, use it with caution.
  46.  
  47. You must append a {CR} or ~ command after the { ? } to complete any user entry that requires Enter. For example, if the macro { ? } was used, and you typed 67 then pressed Enter, the value would remain on the input line at the top of the application window even though the macro resumes. {CR} or ~ (or pressing Enter again) would then enter 67 into the cell.
  48.  
  49. Example
  50.  
  51. This macro selects cell E15, enters the label Check Number? in the cell to act as a prompt, then passes control to the keyboard so you can enter a check number. The information you enter replaces the Check Number? prompt.
  52.  
  53. {EditGoto E15}
  54.  
  55. {PUTCELL "Check Number?"}
  56.  
  57. {?}~
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.