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

  1. {FileClose} and {FileCloseAll}
  2.  
  3. Syntax
  4.  
  5. {FileClose <DoSave? (0|1)>}
  6.  
  7. {FileCloseAll <DoSave? (0|1)>}
  8.  
  9. PerfectScript Syntax
  10.  
  11. FileClose ([DoSave?:Enumeration {Yes!; No!}])
  12.  
  13. FileCloseAll ([DoSave?:Enumeration {Yes!; No!}])
  14.  
  15. Description
  16.  
  17. {FileClose} closes all views of the active notebook; {FileCloseAll} closes all open notebooks. The optional argument DoSave? indicates whether to display a save prompt before closing files with changes. Use 1, the default, to prompt for changes; 0 suppresses save prompts.
  18.  
  19. Options
  20.  
  21. {FileClose <DoSave? (0|1)>}    Closes all views of the active notebook
  22.  
  23. {FileCloseAll <DoSave? (0|1)>}    Closes all open notebooks
  24.  
  25. {FileCombine}
  26.  
  27. Syntax
  28.  
  29. {FileCombine Filename, <Blocks>, Add | Subtract | Multiply | Divide | Copy}
  30.  
  31. PerfectScript Syntax
  32.  
  33. FileCombine (FileName:String; [Blocks:String]; Operation:Enumeration {Copy!; Add!; Subtract!; Multiply!; Divide!})
  34.  
  35. Description
  36.  
  37. {FileCombine} lets you copy all or part of a notebook into any area of the active notebook. If you use the "Copy" option, it copies all or part of a notebook into the active notebook (starting at the selected cell). Omit Blocks to combine an entire file. Use "Add," "Subtract," "Multiply," or "Divide" to perform mathematical operations; the incoming data operates on existing data.
  38.  
  39. You can use {FileCombine?} or {FileCombine!} to display the Combine Files dialog box. {FileCombine?} lets you manipulate the dialog box, whereas {FileCombine!} relies on the macro to manipulate it.
  40.  
  41. Parameters
  42.  
  43. Filename    Name of the file to combine
  44.  
  45. Blocks    Selection or selections within Filename to combine (optional)
  46.  
  47. Note
  48.  
  49.   This command is obsolete.
  50.   
  51. {FileExit}
  52.  
  53. Syntax
  54.  
  55.  {FileExit <DoSave?(0|1)>}
  56.  
  57. PerfectScript Syntax
  58.  
  59.  FileExit ([DoSave?:Enumeration {Yes!; No!}])
  60.  
  61. Description
  62.  
  63.  {FileExit} closes Quattro Pro. The optional argument DoSave? indicates whether to display a save prompt before closing files with changes. Use 1, the default, to prompt for changes; 0 suppresses save prompts.
  64.  
  65. Parameters
  66.  
  67.  DoSave?    Whether to display a save prompt for modified files: no (0), yes (1); 1 is the default
  68.  
  69. {FileExtract}
  70.  
  71. Syntax
  72.  
  73.  {FileExtract Formulas | Values, Blocks, Filename, <Replace | Backup | Confirm>}
  74.  
  75. PerfectScript Syntax
  76.  
  77.  FileExtract (What:Enumeration {Formulas!; Values!}; Blocks:String; Filename:String; [Option:Enumeration {Confirm!; Replace!; Backup!}])
  78.  
  79. Description
  80.  
  81.  {FileExtract} saves part of a notebook to a separate file, leaving the original file intact. Use "Formulas" to retain formulas; use "Values" to convert formulas to values. The optional argument--"Replace," "Backup," or "Confirm"--indicates how to treat an existing file with the same name (without displaying a prompt).
  82.  
  83.  You can use {FileExtract?} or {FileExtract!} to display the Extract To File dialog box. {FileExtract?} lets you manipulate the dialog box, whereas {FileExtract!} relies on the macro to manipulate it.
  84.  
  85. Parameters
  86.  
  87.  Blocks    Selection or selections to extract
  88.  
  89.  Filename    Name of the new file containing Blocks
  90.  
  91. {FileImport}
  92.  
  93. Syntax
  94.  
  95.  {FileImport "Filename","ASCII Text File"|"Comma and "" Delimited File"|"Only Commas"|"Parse Expert"}
  96.  
  97. PerfectScript Syntax
  98.  
  99.  FileImport (Filename:String; Method:String)
  100.  
  101. Description
  102.  
  103.  {FileImport} copies a text file into the active sheet of a notebook. Enter the option string that describes the type of file to import.
  104.  
  105.  You can use {FileImport?} or {FileImport!} to display the Text Import dialog box. {FileImport?} lets you manipulate the dialog box, whereas {FileImport!} relies on the macro to manipulate it.
  106.  
  107. {FileNew}
  108.  
  109. Syntax
  110.  
  111.  {FileNew <TemplateName>}
  112.  
  113. PerfectScript Syntax
  114.  
  115.  FileNew ([TemplateName:String])
  116.  
  117. Description
  118.  
  119.  {FileNew} opens a blank notebook or a notebook based on a QuickTemplate.
  120.  
  121.  You can use {FileNew?} or {FileNew!} to display the New File dialog box. {FileNew?} lets you manipulate the dialog box, whereas {FileNew!} relies on the macro to manipulate it.
  122.  
  123.  FileNew opens only templates in the default QuickTemplates folder.
  124.  
  125. Example
  126.  
  127.  The following macro opens a blank notebook:
  128.  
  129.  {FileNew}
  130.  
  131.  The following macro opens a new notebook based on the 7-Year Balloon Loan QuickTemplate:
  132.  
  133.  {FileNew "7 Year Balloon Loan"}
  134.  
  135. Parameters
  136.  
  137.  TemplateName    The name of a QuickTemplate
  138.  
  139. {FileOpen}
  140.  
  141. Syntax
  142.  
  143.  {FileOpen Filename,<"Open Supporting"|"Update References"|"None ", Open as Copy 0|1>}
  144.  
  145. PerfectScript Syntax
  146.  
  147.  FileOpen (Filename:String; [Option:Enumeration {Open!; Update!; None!}])
  148.  
  149. Description
  150.  
  151.  {FileOpen} opens the specified file.
  152.  
  153.  You can use {FileOpen?} or {FileOpen!} to display the Open File dialog box. {FileOpen?} lets you manipulate the dialog box, whereas {FileOpen!} relies on the macro to manipulate it.
  154.  
  155. Parameters
  156.  
  157.  Filename    Name of the file to open.
  158.  
  159.  Open as Copy    Yes or No, (1 or 0), 0 is the default.
  160.  
  161. Note
  162.  
  163. ¿ To open two or more URL files using Quattro Pro Native macros script, insert a {WAIT} statement after each {FileOpen} statement.
  164. ¿ 
  165. {FileRetrieve}
  166.  
  167. Syntax
  168.  
  169.  {FileRetrieve Filename, <"Open Supporting" | "Update References" |"None ">}
  170.  
  171. PerfectScript Syntax
  172.  
  173.  FileRetrieve (Filename:String; [Option:Enumeration {Open!; Update!; None!}])
  174.  
  175. Description
  176.  
  177.  {FileRetrieve} loads a notebook into the active notebook, replacing any existing data there.
  178.  
  179.  You can use {FileRetrieve?} or {FileRetrieve!} to display the Retrieve File dialog box. {FileRetrieve?} lets you manipulate the dialog box, whereas {FileRetrieve!} relies on the macro to manipulate it.
  180.  
  181. Parameters
  182.  
  183.  Filename    Name of the file to retrieve
  184.  
  185. {FileSave}, {FileSaveAll}, and {FileSaveAs}
  186.  
  187. Syntax
  188.  
  189.  {FileSave <Replace|Backup|Confirm>}
  190.  
  191.  {FileSaveAll <Replace|Backup|Confirm>}
  192.  
  193.  {FileSaveAs Filename, <Replace | Backup | Confirm>,, <FileType>}
  194.  
  195. PerfectScript Syntax
  196.  
  197.  FileSave ([Option:Enumeration {Confirm!; Replace!; Backup!}])
  198.  
  199.  FileSaveAll ([Mode:Enumeration {Confirm!; Replace!; Backup!}])
  200.  
  201.  FileSaveAs (Filename:String; [Option:Enumeration {Confirm!; Replace!; Backup!}]; [reserved:Numeric]; [FileType:String])
  202.  
  203. Description
  204.  
  205.  {FileSave} saves the active notebook, {FileSaveAll} saves all open notebooks, and {FileSaveAs} lets you save the active notebook under another name (Filename). The optional argument--"Replace," "Backup," or "Confirm"--indicates how to treat a previous version of the file (without displaying a prompt).
  206.  
  207.  The optional <FileType> argument for {FileSaveAs} specifies the type of file to save and is equivalent to the Save File As Type option in the Save File dialog box. If you do not specify a file type, the default is "QPW v6."
  208.  
  209.  You can use {FileSaveAs?} or {FileSaveAs!} to display the Save File dialog box. {FileSaveAs?} lets you manipulate the dialog box, whereas {FileSaveAs!} relies on the macro to manipulate it.
  210.  
  211.  The following table shows the available file types. For file types with abbreviated names, a short description is provided.
  212.  
  213.  File Types    Description
  214.  
  215.  QPW v7/v8    Quattro Pro for Windows, version 7.0 and 8.0
  216.  
  217.  QPW v6    Quattro Pro for Windows, version 6.0
  218.  
  219.  QPW    Quattro Pro for Windows, version 1.0 and 5.0
  220.  
  221.  QP/DOS    Quattro Pro for DOS
  222.  
  223.  Excel v5/v7    Excel, Version 5.0 and Version 7.0
  224.  
  225.  Excel    Excel, Version 4.0
  226.  
  227.  1-2-3 v4/v5    1-2-3, Version 4 and Version 5
  228.  
  229.  1-2-3 v3.x    1-2-3, Version 3x
  230.  
  231.  1-2-3 v2.x    1-2-3, Version 2x
  232.  
  233.  1-2-3 v1.0    1-2-3, Version 1.0
  234.  
  235.  1-2-3 Ed.    1-2-3, Educational Version
  236.  
  237.  Paradox    
  238.  
  239.  dBASE IV    
  240.  
  241.  dBASE III    
  242.  
  243.  dBASE II    
  244.  
  245.  Text    tab-delimited text
  246.  
  247.  DIF    VisiCalc
  248.  
  249.  SYLK    Multiplan
  250.  
  251.  HTML    Hypertext Markup Language files, Version 3 (for distribution on the Internet's World Wide Web)
  252.  
  253. Example
  254.  
  255.  To close all files and save without confirmation, use this macro:
  256.  
  257.  {FileSaveAll Replace}
  258.  
  259.  {FileCloseAll 0}
  260.  
  261. Options
  262.  
  263.  {FileSave <Replace|Backup|Confirm>}    Saves the notebook to the name under which you last saved it
  264.  
  265.  {FileSaveAll <Replace|Backup|Confirm>}    Saves the file over a previous version with the same name
  266.  
  267.  {FileSaveAs Filename, <Replace | Backup | Confirm>,, <FileType>}    Saves the notebook under a new name you specify
  268.  
  269. {FileSend}
  270.  
  271. Syntax
  272.  
  273.  {FileSend <Filename>}
  274.  
  275. PerfectScript Syntax
  276.  
  277.  FileSend ([Filename:String])
  278.  
  279. Description
  280.  
  281.  {FileSend} lets you send notebook sheets via one of your mail systems.
  282.  
  283. Example
  284.  
  285.  {FileSend MYSTATUS.WB3} sends the notebook MYSTATUS.WB3 to another user.
  286.  
  287. Options
  288.  
  289.  {FileSend <Filename>}    Sends selected text or an entire notebook by e-mail
  290.  
  291. {FILESIZE}
  292.  
  293. Syntax
  294.  
  295.  {FILESIZE Location}
  296.  
  297. Description
  298.  
  299.  {FILESIZE} calculates the number of bytes in a file previously opened using {OPEN} and places the result in Location as a value. If Location refers to cells, the result is placed in the upper-left cell of the cells. If the command is successful, macro execution continues in the cell below the cell containing the {FILESIZE} command, ignoring any other commands in that cell. If {FILESIZE} fails (for example, when no file is open), macro execution continues in the cell containing the {FILESIZE} command.
  300.  
  301. Example
  302.  
  303.  The following example opens the file MYFILE.TXT and places its size (in bytes) in the cell named num_bytes.
  304.  
  305.  \F    {OPEN "MYFILE.TXT",R}
  306.  
  307.          {FILESIZE num_bytes}
  308.  
  309.          {CLOSE}
  310.  
  311.  
  312.  
  313.  num_bytes    45
  314.  
  315. Parameters
  316.  
  317.  Location    Any cell address or cell name
  318.  
  319. Note
  320.  
  321. ¿ This command is obsolete.
  322. ¿ 
  323. { FileVersion.Retrieve }
  324.  
  325. Syntax
  326.  
  327.  {FileVersion.Retrieve Filename}
  328.  
  329. PerfectScript Syntax
  330.  
  331.  FileVersion_Retrieve (Filename?:String)
  332.  
  333. Description
  334.  
  335.  {FileVersion.Retrieve } retrieves any archived version of a file
  336.  
  337. { FileVersion.Retrieve_Current }
  338.  
  339. Syntax
  340.  
  341.  {FileVersion.Retrieve_Current}
  342.  
  343. PerfectScript Syntax
  344.  
  345.  FileVersion_Retrieve_Current ()
  346.  
  347. Description
  348.  
  349.  {FileVersion.Retrieve_Current} retrieves the most current version of the file.
  350.  
  351. { FileVersionSave }
  352.  
  353. Syntax
  354.  
  355.  {FileVersionSave}
  356.  
  357. PerfectScript Syntax
  358.  
  359.  FileVersionSave ()
  360.  
  361. Description
  362.  
  363.  {FileVersionSave} saves the current file as a different version.
  364.  
  365. {FLOATCOPY}
  366.  
  367. Syntax
  368.  
  369.  {FLOATCOPY UpperCell, xoffset, yoffset}
  370.  
  371. PerfectScript Syntax
  372.  
  373.  FloatCopy (UpperCell:String; xoffset:Numeric; yoffset:Numeric)
  374.  
  375. Description
  376.  
  377.  {FLOATCOPY} lets you copy a floating object in the active notebook window. The item to copy is selected using {SELECTFLOAT}. The new position in {FLOATCOPY} is specified as a positive offset from a cell in the notebook.
  378.  
  379.  To copy a floating chart to another notebook, specify a notebook as well as a cell for UpperCell.
  380.  
  381. Example
  382.  
  383.  The following macro selects the floating chart Inserted1 and copies it to [SALES]A:C10.
  384.  
  385.  {SELECTFLOAT Inserted1}
  386.  
  387.  {FLOATCOPY [SALES]A:C10,0,0}
  388.  
  389. Parameters
  390.  
  391.  UpperCell    Cell containing the new upper-left corner of the floating object
  392.  
  393.  xoffset    Offset in twips from the left edge of UpperCell to the left edge of the floating object
  394.  
  395.  yoffset    Offset in twips from the top edge of UpperCell to the top edge of the floating object
  396.  
  397. {FLOATCREATE}
  398.  
  399. Syntax
  400.  
  401.  {FLOATCREATE Type, UpperCell, xoffset, yoffset, LowerCell, xoffset2, yoffset2, <Text>|StartCorner}
  402.  
  403. PerfectScript Syntax
  404.  
  405.  FloatCreate (Type:String; UpperCell:String; xoffset:Numeric; yoffset:Numeric; LowerCell:String; xoffset2:Numeric; yoffset2:Numeric; [TextOrStartCorner:Any])
  406.  
  407. Description
  408.  
  409.  {FLOATCREATE} lets you create macro buttons, floating charts, or a draw layer objects (lines, arrows, rectangles, rounded rectangles, ellipses, or text boxes) in the active notebook window. Use {CREATEOBJECT} to create objects in dialog windows or chart windows.
  410.  
  411.  All positions in {FLOATCREATE} are positive offsets from cells in the notebook containing the upper-left and lower-right corners of the object.
  412.  
  413. Notes
  414.  
  415.   If you need to modify the floating object after creating it, change the property settings immediately after creation. It is selected then, so you will not need to click it or use {SELECTFLOAT}.
  416.   
  417.   You should also change the name at this time and document it for later use with {SELECTFLOAT}.
  418.   
  419. Example
  420.  
  421. The following macro creates a macro button that covers the cells A1..B2, then stores the name of the button in A26. The button reads Save File:
  422.  
  423.     {FLOATCREATE Button,A1,0,0,C3,0,0, "Save File"}
  424.  
  425.     {GETPROPERTY A26, "Object_Name"}
  426.  
  427. The following macro creates a button 50 twips to the right and 50 twips below the upper-left corner of the button in the previous example. It reads Open File:
  428.  
  429.     {FLOATCREATE Button,A1,50,50,C3,50,50, "Open File"}
  430.  
  431. The following macro creates a floating chart that is offset 35 twips from the cells C2..E10, but the same size:
  432.  
  433.     {GraphNew Chart3}
  434.  
  435.     {FLOATCREATE Chart,C2,35,35,E10,35,35,"Chart3"}
  436.  
  437. The following macro creates a floating arrow over the cells B8..Dll . The arrow starts at the southwest corner of the cells, and ends with an arrowhead at the northwest corner.
  438.  
  439.     {FloatCreate Arrow,A:B8,0,0,A:D11,945,45,4}
  440.  
  441. The following macro creates a floating ellipse over the cells E10..E13, then fills the ellipse with a red color.
  442.  
  443.     {FloatCreate Ellipse,A:E10,0,120,A:E13,945,240}
  444.  
  445.     {Setproperty Fill_Color, "255,0,0"}
  446.  
  447. Parameters
  448.  
  449. Type     Floating object to create: Chart, Button, Line, Arrow, Rect, Rounded_Rect, Ellipse, or Text
  450.  
  451. UpperCell    Cell containing the upper-left corner of the chart or macro button
  452.  
  453. xoffset    Offset in twips from the left edge of UpperCell to the left edge of the floating object
  454.  
  455. yoffset    Offset in twips from the top edge of UpperCell to the top edge of the floating object
  456.  
  457. LowerCell    Cell containing the lower-right corner of the chart or macro button
  458.  
  459. xoffset2    Offset in twips from the left edge of LowerCell to the right Edge of the floating object
  460.  
  461. yoffset2    Offset in twips from the top edge of LowerCell to the bottom edge of the floating object
  462.  
  463. Text    For Chart, the named chart to display; for Button, the button text
  464.  
  465. StartCorner    For Line or Arrow, a number representing the starting corner; 1 = northwest, 2 = northeast, 3 = southeast, 4 = southwest (for example, an arrow pointing up and to the right would have a StartCorner of 4) You must this value within quotations (""). "" 
  466.  
  467. {FLOATMOVE}
  468.  
  469. Syntax
  470.  
  471. {FLOATMOVE UpperCell,xoffset,yoffset}
  472.  
  473. PerfectScript Syntax
  474.  
  475. FloatMove (UpperCell:String; xoffset:Numeric; yoffset:Numeric)
  476.  
  477. Description
  478.  
  479. {FLOATMOVE} lets you move a floating object in the active notebook window. The item to move is selected using {SELECTFLOAT}. The new position in {FLOATMOVE} is specified as a positive offset from a cell in the notebook.
  480.  
  481. To move a floating chart to another notebook, specify a notebook as well as a cell for UpperCell.
  482.  
  483. Example
  484.  
  485. The following macro selects the floating chart Inserted1 and moves it to [SALES]A:C10.
  486.  
  487. {SELECTFLOAT Inserted1}
  488.  
  489. {FLOATMOVE [SALES]A:C10,0,0}
  490.  
  491. Parameters
  492.  
  493. UpperCell    Cell containing the new upper-left corner of the floating object
  494.  
  495. xoffset    Offset in twips from the left edge of UpperCell to the left edge of the floating object
  496.  
  497. yoffset    Offset in twips from the top edge of UpperCell to the top edge of the floating object
  498.  
  499. {FloatOrder}
  500.  
  501. Syntax
  502.  
  503. {FloatOrder.Option}
  504.  
  505. PerfectScript Syntax
  506.  
  507. FloatOrder_Backward ()
  508.  
  509. FloatOrder_Forward ()
  510.  
  511. FloatOrder_ToBack ()
  512.  
  513. FloatOrder_ToFront ()
  514.  
  515. Description
  516.  
  517. {FloatOrder} works on selected objects to arrange layers of floating charts and other floating objects in the notebook window.
  518.  
  519. Options
  520.  
  521. {FloatOrder.ToBack}    Send the selected object to the back layer
  522.  
  523. {FloatOrder.Backward}    Send the selected object back one layer
  524.  
  525. {FloatOrder.ToFront}    Send the selected object to the front layer
  526.  
  527. {FloatOrder.Forward}    Send the selected object forward one layer
  528.  
  529. {FLOATSIZE}
  530.  
  531. Syntax
  532.  
  533. {FLOATSIZE UpperCell,xoffset,yoffset,LowerCell,xoffset2,yoffset2}
  534.  
  535. PerfectScript Syntax
  536.  
  537. FloatSize (UpperCell:String; xoffset:Numeric; yoffset:Numeric; LowerCell:String; xoffset2:Numeric; yoffset2:Numeric)
  538.  
  539. Description
  540.  
  541. {FLOATSIZE} lets you resize a floating object in the active notebook window. The item to resize is selected using {SELECTFLOAT}.
  542.  
  543. All positions in {FLOATSIZE} are positive offsets from a cell in the notebook.
  544.  
  545. Parameters
  546.  
  547. UpperCell    Cell containing the new upper-left corner of the chart or macro button
  548.  
  549. xoffset    Offset in twips from the left edge of UpperCell to the left edge of the floating object
  550.  
  551. yoffset    Offset in twips from the top edge of UpperCell to the top edge of the floating object
  552.  
  553. LowerCell    Cell containing the new lower-right corner of the chart or macro button
  554.  
  555. xoffset2    Offset in twips from the left edge of LowerCell to the right edge of the floating object
  556.  
  557. yoffset2    Offset in twips from the top edge of LowerCell to the bottom edge of the floating object
  558.  
  559. {FLOATTEXT}
  560.  
  561. Syntax
  562.  
  563. {FLOATTEXT String}
  564.  
  565. PerfectScript Syntax
  566.  
  567. FloatText (String:String)
  568.  
  569. Description
  570.  
  571. {FLOATTEXT} replaces the text in the selected text box with the specified string. The text box can be on a notebook sheet or in a chart window.
  572.  
  573. Example
  574.  
  575. The following macro selects a floating text box named Text1 and replaces the text in it with "Quarterly Sales Report."
  576.  
  577. {SELECTFLOAT Text1}
  578.  
  579. {FLOATTEXT "Quarterly Sales Report"}
  580.  
  581. Parameters
  582.  
  583. String    String of characters used to replace text in the text box
  584.  
  585. {FOR}
  586.  
  587. Syntax
  588.  
  589. {FOR CounterLoc,Start#,Stop#,Step#,StartLoc}
  590.  
  591. Description
  592.  
  593. {FOR} repeatedly runs a macro subroutine beginning at StartLoc, creating a macro loop. Quattro Pro keeps track of how long the macro runs using CounterLoc. At the start of the loop, CounterLoc is set to Start#. Each time an iteration of the loop runs, CounterLoc is increased by Step#. When CounterLoc reaches or exceeds Stop#, execution stops.
  594.  
  595. Example
  596.  
  597. {FOR D15,1,5,1,E30}    runs the subroutine beginning in cell E30 five times.
  598.  
  599. {FOR D15,1,10,2,E30}    runs the subroutine five times because the counter increments by two during each iteration.
  600.  
  601. {FOR D15,1,5,0,E30}    runs the subroutine continuously until you press Ctrl+Break, because adding 0 to the start value of 1 can never make the counter exceed 5.
  602.  
  603. {FOR D15,1,0,1}    results in an error because no subroutine is specified.
  604.  
  605. The following macro creates "Qtr" labels for reports; the year displays above Qtr1:
  606.  
  607. \Q    {; position cursor where labels should appear}
  608.  
  609.         {FOR counter, 1994,1997,1,_list}
  610.  
  611.         {; return to original position}
  612.  
  613.         {LEFT}{END}{LEFT}
  614.  
  615.  
  616.  
  617. counter
  618.  
  619.  
  620.  
  621. _list    {PUTCELL +counter}
  622.  
  623.         {DOWN}
  624.  
  625.         {PUTCELL "Qtr1"}{RIGHT}
  626.  
  627.         {PUTCELL "Qtr2"}{RIGHT}
  628.  
  629.         {PUTCELL "Qtr3"}{RIGHT}
  630.  
  631.         {PUTCELL "Qtr4"}{RIGHT 2}{UP}
  632.  
  633. Parameters
  634.  
  635. CounterLoc    Cell used to track the number of macro iterations
  636.  
  637. Start#    Initial value to place in CounterLoc
  638.  
  639. Stop#    Maximum value for CounterLoc
  640.  
  641. Step#    Amount added to CounterLoc after each iteration
  642.  
  643. StartLoc    Cell containing the subroutine to run
  644.  
  645. Note
  646.  
  647. ¿ This command is obsolete.
  648. ¿ 
  649. {FORBREAK}
  650.  
  651. Description
  652.  
  653.  {FORBREAK} cancels the subroutine run by a {FOR} command and ends the processing of {FOR}. Macro execution continues normally with the command following the {FOR} command.
  654.  
  655.  If {FORBREAK} appears anywhere other than in a subroutine called by {FOR}, macro execution ends, and Quattro Pro displays an error message.
  656.  
  657.  {FORBREAK} is usually used in conjunction with {IF} to exit the macro if a specific condition is reached; for example, if an error condition is found.
  658.  
  659. Example
  660.  
  661.  The following example shows {FORBREAK} terminating a loop used to enter names into a list. Enter STOP to stop the loop.
  662.  
  663.  \F        {EditGoto list_top}
  664.  
  665.              {FOR counter,1,10000,1,_get_name}
  666.  
  667.  
  668.  
  669.  _get_name    {GETLABEL "Enter next name: ",name_cell}
  670.  
  671.              {IF name_cell="STOP"}{FORBREAK}
  672.  
  673.              {LET @CELLPOINTER("Address"),name_cell}{DOWN}
  674.  
  675.  
  676.  
  677.  name_cell    STOP
  678.  
  679.  counter    4
  680.  
  681.  list_top
  682.  
  683. Note
  684.  
  685. ¿ This command is obsolete.
  686. ¿ 
  687. {Form}
  688.  
  689. Syntax
  690.  
  691. {Form <Block>}
  692.  
  693. PerfectScript Syntax
  694.  
  695. Form(Block?:<Block>)
  696.  
  697. Description
  698.  
  699. Equivalent to Tools  Database Tools  Form. Lets you create forms for entering and finding data records without programming.
  700.  
  701. Parameter
  702.  
  703. Block    A database block including field labels and records
  704.  
  705. {FOURIER}
  706.  
  707. Syntax
  708.  
  709. {FOURIER InBlock,OutBlock,<Inverse>}
  710.  
  711. PerfectScript Syntax
  712.  
  713. FOURIER (InBlock:String; OutBlock:String; [Inverse?:Enumeration {Yes!; No!}])
  714.  
  715. Description
  716.  
  717. {FOURIER} performs a fast Fourier transformation on cells of data. {FOURIER} is equivalent to the Fourier analysis tool.
  718.  
  719. Parameters
  720.  
  721. InBlock    One or more numeric cell values representing the input cells; can be real or complex numbers; the number of values in InBlock must be a power of 2 between 2 and 1024 inclusive (for example, 2, 4, 8, 16,...); if the number of values in InBlock does not equal a power of 2, pad the cells with additional zeros
  722.  
  723. OutBlock    Upper-left cell of the output cells
  724.  
  725. Inverse    0 to perform a Fourier transformation; 1 to perform the inverse Fourier transformation; the default is 0
  726.  
  727. {Frequency}
  728.  
  729. Syntax
  730.  
  731. {Frequency.Option}
  732.  
  733. PerfectScript Syntax
  734.  
  735. Frequency_Bin_Block (Block:String)
  736.  
  737. Frequency_Go ()
  738.  
  739. Frequency_Reset ()
  740.  
  741. Frequency_Value_Block (Block:String)
  742.  
  743. Description
  744.  
  745. {Frequency} counts the number of cases in the value Block that fall within each interval specified in the bin Block. Use {Frequency.Bin_Block} and {Frequency.Value_Block}, then {Frequency.Go}. You can use {Frequency.Reset} before or after the other commands to clear current settings.
  746.  
  747. You can use {Frequency?} or {Frequency!} to display the Frequency Tables dialog box. {Frequency?} lets you manipulate the dialog box, whereas {Frequency!} relies on the macro to manipulate it.
  748.  
  749. Example
  750.  
  751. The following macro counts the data in cells C1..E13 of sheet A and groups it according to the intervals given in G1..G7; frequencies display in column H.
  752.  
  753. {Frequency.Value_Block A:C1..E13}
  754.  
  755. {Frequency.Bin_Block A:G1..G7}
  756.  
  757. {Frequency.Go}
  758.  
  759. Options
  760.  
  761. {Frequency.Bin_Block Block}    Specifies cells that define value intervals or "bins" of values to be counted
  762.  
  763. {Frequency.Go}    Accepts the frequency settings
  764.  
  765. {Frequency.Reset}    Clears all settings
  766.  
  767. {Frequency.Value_Block Block}    Specifies the cells or list of cells containing values to be counted
  768.  
  769. {FTESTV}
  770.  
  771. Syntax
  772.  
  773. {FTESTV InBlock1,InBlock2,OutBlock,<Labels>}
  774.  
  775. PerfectScript Syntax
  776.  
  777. FTESTV (InBlock1:String; InBlock2:String; OutBlock:String; [Labels?:Enumeration {Yes!; No!}])
  778.  
  779. Description
  780.  
  781. {FTESTV} performs a two-sample F-test to compare population variances. {FTESTV} is equivalent to the F-Test analysis tool.
  782.  
  783. Parameters
  784.  
  785. InBlock1    The first input cells containing a column or row of numeric values
  786.  
  787. InBlock2    The second input cells containing a column or row of numeric values
  788.  
  789. OutBlock    Upper-left cell of the output cells
  790.  
  791. Labels    1 if labels are located in the first column or row of the input cells; 0 if the input cells do not contain labels; the default is 0
  792.  
  793. {FUNCTIONS}
  794.  
  795. Description
  796.  
  797. {FUNCTIONS} is equivalent to the Functions key Alt+F3, which displays a list of @functions to enter in the input line.
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.