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

  1. {RANDOM}
  2.  
  3. Syntax
  4.  
  5. RANDOM(OutBlock As String, Columns As Integer, Rows As Integer, type As _RANDOM_Type_enum, Seed As Double, Parameter1, [Parameter2 As Double], [Parameter3 As Double], [Parameter4 As Double], [Parameter5 As Double]
  6.  
  7. Parameters
  8.  
  9. OutBlock    Upper-left cell of the output cells
  10.  
  11. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  12.  
  13. Rows    A value indicating the number of rows of random numbers to generate for each column
  14.  
  15. 6    Indicates patterned distribution
  16.  
  17. Seed    Starting number for the random-number-generation algorithm
  18.  
  19. LowerBound    A value indicating the lower bound on the set of numbers to generate
  20.  
  21. UpperBound    A value indicating the upper bound on the set of numbers to generate
  22.  
  23. Step    Increment value between LowerBound and UpperBound
  24.  
  25. RepeatNumber    A value indicating the number of times to repeat each value
  26.  
  27. RepeatSequence    A value indicating the number of times to repeat each sequence of values
  28.  
  29.  
  30.  
  31. Description
  32.  
  33. {RANDOM} generates cells of random values drawn from a selected distribution. It is equivalent to the Random Number analysis tool. {RANDOM} has a different format for the following distribution types:
  34.  
  35. Uniform    Every value has an equal probability of being selected.
  36.  
  37. Normal    Has the qualities of a symmetrical, bell-shaped curve.
  38.  
  39. Bernoulli    Has two possible outcomes, failure or success, represented by 0 and 1.
  40.  
  41. Binomial    Represents the distribution of successful outcomes in a given number of independent Bernoulli trials.
  42.  
  43. Poisson    The distribution of values in any interval depends on the length of the interval and the constant Lambda, the expected number of occurrences in an interval
  44.  
  45. Patterned    A pattern of repeated values and sequences.
  46.  
  47. Discrete    Every value in designated cells has a specified probability of being selected (the cumulative probabilities equal 1).
  48.  
  49. {RANDOM} - Uniform Distribution
  50.  
  51. Syntax
  52.  
  53. {RANDOM OutBlock, Columns, Rows, 1, Seed, LowerBound, UpperBound}
  54.  
  55. PerfectScript Syntax
  56.  
  57. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  58.  
  59. Description
  60.  
  61. When the Distribution argument equals 1, {RANDOM} generates random values drawn from a uniform distribution.
  62.  
  63. Parameters
  64.  
  65. OutBlock    Upper-left cell of the output cells
  66.  
  67. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  68.  
  69. Rows    A value indicating the number of rows of random numbers to generate for each column
  70.  
  71. 1     Indicates uniform distribution
  72.  
  73. Seed    Starting number for the random-number-generation algorithm
  74.  
  75. LowerBound    A value indicating the lower bound on the set of numbers to generate
  76.  
  77. UpperBound    A value indicating the upper bound on the set of numbers to generate
  78.  
  79. {RANDOM} - Normal Distribution
  80.  
  81. Syntax
  82.  
  83. {RANDOM OutBlock, Columns, Rows, 2, Seed, Mean, SDev}
  84.  
  85. PerfectScript Syntax
  86.  
  87. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  88.  
  89. Description
  90.  
  91. When the Distribution argument equals 2, {RANDOM} generates random values drawn from a normal distribution.
  92.  
  93. Parameters
  94.  
  95. OutBlock    Upper-left cell of the output cells
  96.  
  97. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  98.  
  99. Rows    A value indicating the number of rows of random numbers to generate for each column
  100.  
  101. 2    Indicates normal distribution
  102.  
  103. Seed    Starting number for the random-number-generation algorithm
  104.  
  105. Mean    A value indicating the mean of the set of numbers to generate
  106.  
  107. SDev    A value indicating the standard deviation of the set of numbers to generate
  108.  
  109. {RANDOM} - Bernoulli Distribution
  110.  
  111. Syntax
  112.  
  113. {RANDOM OutBlock, Columns, Rows, 3, Seed, Prob}
  114.  
  115. PerfectScript Syntax
  116.  
  117. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  118.  
  119. Description
  120.  
  121. When the Distribution argument equals 3, {RANDOM} generates random values drawn from a Bernoulli distribution.
  122.  
  123. Parameters
  124.  
  125. OutBlock    Upper-left cell of the output cells
  126.  
  127. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  128.  
  129. Rows    A value indicating the number of rows of random numbers to generate for each column
  130.  
  131. 3    Indicates Bernoulli distribution
  132.  
  133. Prob     Starting number for the random-number-generation algorithm
  134.  
  135. Seed    A value indicating the probability of success on each trial run; must be greater than or equal to 0 and less than or equal to 1
  136.  
  137. {RANDOM} - Binomial Distribution
  138.  
  139. Syntax
  140.  
  141. {RANDOM OutBlock, Columns, Rows, 4, Seed, Prob, Trials}
  142.  
  143. PerfectScript Syntax
  144.  
  145. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  146.  
  147. Description
  148.  
  149. When the Distribution argument equals 4, {RANDOM} generates random values drawn from a binomial distribution.
  150.  
  151. Parameters
  152.  
  153. OutBlock    Upper-left cell of the output cells
  154.  
  155. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  156.  
  157. Rows    A value indicating the number of rows of random numbers to generate for each column
  158.  
  159. 4    Indicates binomial distribution
  160.  
  161. Seed    Starting number for the random-number-generation algorithm
  162.  
  163. Prob    A value indicating the probability of success on each trial run; must be greater than or equal to 0 and less than or equal to 1
  164.  
  165. Trials    A value indicating the number of trials
  166.  
  167. {RANDOM} - Poisson Distribution
  168.  
  169. Syntax
  170.  
  171. {RANDOM OutBlock, Columns, Rows, 5, Seed, Lambda}
  172.  
  173. PerfectScript Syntax
  174.  
  175. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  176.  
  177. Description
  178.  
  179. When the Distribution argument equals 5, {RANDOM} generates random values drawn from a Poisson distribution.
  180.  
  181. Parameters
  182.  
  183. OutBlock    Upper-left cell of the output cells
  184.  
  185. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  186.  
  187. Rows    A value indicating the number of rows of random numbers to generate for each column
  188.  
  189. 5    Indicates Poisson distribution
  190.  
  191. Seed    Starting number for the random-number-generation algorithm
  192.  
  193. Lambda    A parameter to the Poisson distribution representing the expected number of events in each unit
  194.  
  195. {RANDOM} - Patterned Distribution
  196.  
  197. Syntax
  198.  
  199. {RANDOM OutBlock, Columns, Rows, 6, Seed, LowerBound, UpperBound, Step, RepeatNumber, RepeatSequence}
  200.  
  201. PerfectScript Syntax
  202.  
  203. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  204.  
  205. Description
  206.  
  207. When the Distribution argument equals 6, {RANDOM} generates random values drawn from a patterned distribution.
  208.  
  209. Parameters
  210.  
  211. OutBlock    Upper-left cell of the output cells
  212.  
  213. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  214.  
  215. Rows    A value indicating the number of rows of random numbers to generate for each column
  216.  
  217. 6    Indicates patterned distribution
  218.  
  219. Seed    Starting number for the random-number-generation algorithm
  220.  
  221. LowerBound    A value indicating the lower bound on the set of numbers to generate
  222.  
  223. UpperBound    A value indicating the upper bound on the set of numbers to generate
  224.  
  225. Step    Increment value between LowerBound and UpperBound
  226.  
  227. RepeatNumber    A value indicating the number of times to repeat each value
  228.  
  229. RepeatSequence    A value indicating the number of times to repeat each sequence of values
  230.  
  231. {RANDOM} - Discrete Distribution
  232.  
  233. Syntax
  234.  
  235. {RANDOM OutBlock, Columns, Rows, 7, Seed, InBlock}
  236.  
  237. PerfectScript Syntax
  238.  
  239. RANDOM (OutBlock:String; Columns:Numeric; Rows:Numeric; Type:Enumeration {Uniform!; Normal!; Bernoulli!; Binomial!; Poisson!; Patterned!; Discrete!}; Seed:Numeric; Parameter1:Any; [Parameter2:Numeric]; [Parameter3:Numeric]; [Parameter4:Numeric]; [Parameter5:Numeric])
  240.  
  241. Description
  242.  
  243. When the Distribution argument equals 7, {RANDOM} generates random values drawn from a discrete distribution.
  244.  
  245. Parameters
  246.  
  247. OutBlock    Upper-left cell of the output cells
  248.  
  249. Columns    A value indicating the number of random-number sets to generate; default is the number of columns in OutBlock
  250.  
  251. Rows    A value indicating the number of rows of random numbers to generate for each column
  252.  
  253. 7    Indicates discrete distribution
  254.  
  255. Seed    Starting number for the random-number-generation algorithm
  256.  
  257. InBlock    One or more numeric cell values representing the input cells, which contain a range of values and their probabilities, each in a separate column
  258.  
  259. {RANKPERC}
  260.  
  261. Syntax
  262.  
  263. RANKPERC(InBlock As String, OutBlock As String, [Grouped As String], [Labels_ As _RANKPERC_Labels__enum])
  264.  
  265. PerfectScript Syntax
  266.  
  267. RANKPERC (InBlock:String; OutBlock:String; [Grouped:String]; [Labels?:Enumeration {Yes!; No!}])
  268.  
  269. Description
  270.  
  271. {RANKPERC} returns the ordinal and percent rank of each value in InBlock. {RANKPERC} is equivalent to the Rank and Percentile analysis tool.
  272.  
  273. Parameters
  274.  
  275. InBlock    Input cells containing one or more columns or rows of numeric values
  276.  
  277. OutBlock    Upper-left cell of the output cells
  278.  
  279. Grouped    "C" to group results by column or "R" to group results by row; the default is "C"
  280.  
  281. 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
  282.  
  283. {RECALC}
  284.  
  285. Syntax
  286.  
  287. Recalc(Block As String, [Condition], [Iteration As Integer])
  288.  
  289. PerfectScript Syntax
  290.  
  291. Recalc (Block:String; [Condition:Any]; [Iteration:Numeric])
  292.  
  293. Description
  294.  
  295. {RECALC} causes Quattro Pro to recalculate a specified portion of the notebook in a row-by-row order. This is different from normal recalculation, where Quattro Pro recalculates the entire notebook in natural order; that is, before a formula calculates, each cell it references is recalculated first.
  296.  
  297. With the optional Condition argument, you can tell Quattro Pro to recalculate formulas in cells repeatedly until the specified condition is met. You can also supply Iteration# to specify the maximum number of times to recalculate formulas trying to satisfy Condition. To use Iteration#, Condition must also be supplied.
  298.  
  299. {RECALC} is useful for rapid recalculation of specified parts of a notebook, particularly when the notebook is so large that global recalculations would significantly slow your work.
  300.  
  301. {RECALC} overrides the recalculation method specified for the notebook, enforcing row-by-row recalculation. If all the formulas reference only cells above, or to the left in the same row, the notebook will be correctly calculated. If there are references to cells to the left and below, you must use {RECALCCOL}. If there are references to cells below or to the right in the same row as your formula, you must use {CALC} to recalculate the entire notebook.
  302.  
  303. {RECALC} displays the results of recalculation.
  304.  
  305. If there are formulas within the cells being recalculated that depend on formulas outside of the cells, they might not evaluate correctly. Make sure Location encompasses all the cells referenced by formulas within the cells.
  306.  
  307. Parameters
  308.  
  309. Location    Cells to recalculate
  310.  
  311. Condition    Condition to be met before recalculation is halted (optional)
  312.  
  313. Iteration#    Maximum number of times to recalculate Location trying to meet Condition (optional)
  314.  
  315. {RECALCCOL}
  316.  
  317. Syntax
  318.  
  319. RecalcCol(Block As String, [Condition], [Iteration As Integer])
  320.  
  321. PerfectScript Syntax
  322.  
  323. RecalcCol (Block:String; [Condition:Any]; [Iteration:Numeric])
  324.  
  325. Description
  326.  
  327. {RECALCCOL} recalculates the specified portion of a notebook in column-by-column order. It is similar to {RECALC}, which recalculates row by row. See {RECALC} for information on when {RECALCCOL} is appropriate and when you need to use {CALC} instead.
  328.  
  329. Parameters
  330.  
  331. Location    Cells to recalculate
  332.  
  333. Condition    Condition to be met before recalculation is halted (optional)
  334.  
  335. Iteration#    Maximum number of times to recalculate Location trying to meet Condition (optional)
  336.  
  337. {RefreshMenuBar}
  338.  
  339. Syntax
  340.  
  341. RefreshMenuBar()
  342.  
  343. PerfectScript Syntax
  344.  
  345. RefreshMenuBar ()
  346.  
  347. Description
  348.  
  349. Refreshes the menu bar.
  350.  
  351. {REGRESS}
  352.  
  353. Syntax
  354.  
  355. REGRESS(InBlockY As String, InBlockX As String, YIntZero_ As _REGRESS_YIntZero__enum, Labels_ As _REGRESS_Labels__enum, Confidence As Double, SumOutBlock As String, Residuals_ As _REGRESS_Residuals__enum, StdResiduals_ As _REGRESS_StdResiduals__enum, [ResidualOutBlock As String], [ProbOutBlock As String])
  356.  
  357. PerfectScript Syntax
  358.  
  359. REGRESS (InBlockY:String; InBlockX:String; YIntZero?:Enumeration {Yes!; No!}; Labels?:Enumeration {Yes!; No!}; Confidence:Numeric; SumOutBlock:String; Residuals?:Enumeration {Yes!; No!}; StdResiduals?:Enumeration {Yes!; No!}; [ResidualOutBlock:String]; [ProbOutBlock:String])
  360.  
  361. Description
  362.  
  363. {REGRESS} performs multiple linear regression analysis. {REGRESS} is equivalent to the Advanced Regression analysis tool.
  364.  
  365. Parameters
  366.  
  367. InBlockY    Input cells containing a single column of y values (the dependent variables)
  368.  
  369. InBlockX    Input cells containing one or more columns of x values (the independent variables)
  370.  
  371. YIntZero    1 if the y-intercept is 0 (the line of regression passes through the origin); 0 if the y-intercept is not 0
  372.  
  373. Labels    1 if labels are located in the first column or row of the InBlockY and InBlockX; 0 if the input selections do not contain labels
  374.  
  375. Confidence    A value indicating the confidence level to apply to the regression
  376.  
  377. SumOutBlock    Upper-left cell of the output cells for the summary table (allow at least seven columns)
  378.  
  379. Residuals    1 or 0; if 1, includes residuals in the output table
  380.  
  381. StdResiduals    1 or 0; if 1, includes standardized residuals in the output table
  382.  
  383. ResidualOutBlock    Upper-left cell of the output cells for the residuals table (allow at least four columns)
  384.  
  385. ProbOutBlock    Upper-left cell of the output cells for the probabilities table (allow at least two columns)
  386.  
  387. {Regression}
  388.  
  389. Syntax
  390.  
  391. {Regression.Option}
  392.  
  393. PerfectScript Syntax
  394.  
  395. Regression_Dependent (Block:String)
  396.  
  397. Regression_Go ()
  398.  
  399. Regression_Independent (Block:String)
  400.  
  401. Regression_Output (Block:String)
  402.  
  403. Regression_Reset ()
  404.  
  405. Regression_Y_Intercept (Mode:String)
  406.  
  407. Description
  408.  
  409. {Regression} performs a regression analysis to show the relationship between a set of independent variables and a dependent variable.
  410.  
  411. {Regression.Dependent} indicates the dependent-variable cells. {Regression.Independent} defines the independent variables. In {Regression.Independent}, Block can be noncontiguous with one variable to a column. The dependent and independent selections must all have the same number of rows.
  412.  
  413. {Regression.Output} indicates where to store the table of regression results. {Regression.Y_Intercept} specifies whether to compute the Y-intercept, or set it to zero. You can use {Regression.Reset} to clear all settings. Use {Regression.Go} after the other command equivalents to perform the regression analysis. If data changes within the independent or dependent data selections, use {Regression.Go} again to calculate a new regression table.
  414.  
  415. You can use {Regression?} or {Regression!} to display the Linear Regression dialog box. {Regression?} lets you manipulate the dialog box, whereas {Regression!} relies on the macro to manipulate it.
  416.  
  417. Example
  418.  
  419. The following macro sets these data selections: Independent, B2..D16; Dependent, F2..F16. The last statement performs the regression analysis and stores the results in the cells with upper-left cell H2.
  420.  
  421. {Regression.Independent A:B2..A:D16}
  422.  
  423. {Regression.Dependent A:F2..A:F16}
  424.  
  425. {Regression.Output A:H2}
  426.  
  427. {Regression.Go}
  428.  
  429. Options
  430.  
  431. {Regression.Dependent Block}    Specifies the cells (partial column) containing independent variable (y-axis) data
  432.  
  433. {Regression.Go}    Performs the regression analysis
  434.  
  435. {Regression.Independent Block}    Specifies cells containing up to 150 columns of independent variable (x-axis) data
  436.  
  437. {Regression.Output Block}    Specifies the cells where results will be written
  438.  
  439. {Regression.Reset}    Clears all regression settings
  440.  
  441. {Regression.Y_Intercept Compute|Zero}    Specifies whether to force the y-intercept value to zero or whether to compute it
  442.  
  443. {REQUEST}
  444.  
  445. Syntax
  446.  
  447. {REQUEST DDEChannel,DataToReceive,DestBlock}
  448.  
  449. PerfectScript Syntax
  450.  
  451. Request (DDEChannel:Numeric; DataToReceive:String; DestBlock:String)
  452.  
  453. Description
  454.  
  455. {REQUEST} gets information specified by DataToReceive from applications that support Dynamic Data Exchange (DDE). This information is stored in DestBlock. DataToReceive is a string representing the location of the data to receive in the other application. In Quattro Pro, this could be cells such as A2..A7 or a property such as "(Application.Display)". If requesting a property, the property must be enclosed in parentheses.
  456.  
  457. If your conversation is not within a specific topic (in other words, you opened the channel using the command {INITIATE AppName,"System",DDEChannel}), you can use the following strings in DataToReceive, depending on the application:
  458.  
  459. Arguments for DataToReceive
  460.  
  461. String    Purpose
  462.  
  463. "SysItems"    A listing of all strings you can use with DataToReceive. You can use this command first to view other choices offered by AppName.
  464.  
  465. "Topics"    A listing of all topics open. For example, a list of open documents under Word for Windows.
  466.  
  467. "Status"    The current status of the application. For example, READY in Excel or EDIT in Quattro Pro when a cell is being edited.
  468.  
  469. "Formats"    A list of all Clipboard formats supported by the application or DDE link.
  470.  
  471. "Selection"    A list of all items currently selected in the application. For example, in Excel cells A3..A47 could be selected.
  472.  
  473. Example
  474.  
  475. This macro gets the major and minor version numbers of GroupWise, which is already running.
  476.  
  477. dde_channel    0
  478.  
  479. get_vernumber    {INITIATE "GroupWise","Command",dde_channel}    
  480.  
  481.     {REQUEST dde_channel,"GetOfficeData(ID;MajorVersion!)",G1}
  482.  
  483.     {REQUEST dde_channel,"GetOfficeData(ID;MinorVersion!)",G2}
  484.  
  485.     {TERMINATE dde_channel}
  486.  
  487. This macro gets information from the fields Task and Completed in ObjectVision file TASKLIST.OVD and stores the data in the active notebook.
  488.  
  489. dde_channel    10
  490.  
  491. command    [@NEXT("TASKS")]
  492.  
  493. exec_result    0
  494.  
  495. vision_task    Print out third quarter report
  496.  
  497. task_complete    Yes
  498.  
  499. _get_vision_task    {INITIATE "VISION","TASKLIST.OVD",dde_channel}
  500.  
  501.     {REQUEST dde_channel,"Task",vision_task}
  502.  
  503.     {REQUEST dde_channel "Completed",task_complete}
  504.  
  505.     {EXECUTE dde_channel,+command,exec_result}
  506.  
  507. Parameters
  508.  
  509. DDEChannel    DDE channel number of the application to receive data from
  510.  
  511. DataToReceive    Information to receive from the application
  512.  
  513. DestBlock    Cells to store the data received into
  514.  
  515. {RESIZE}
  516.  
  517. Syntax
  518.  
  519. Resize(x As Double, y As Double, NewWidth As Double, NewHeight As Double, [VertFlip_ As _Resize_VertFlip__enum], [HorizFlip_ As _Resize_HorizFlip__enum])
  520.  
  521. PerfectScript Syntax
  522.  
  523. Resize (x:Numeric; y:Numeric; NewWidth:Numeric; NewHeight:Numeric; [VertFlip?:Enumeration {Yes!; No!}]; [HorizFlip?:Enumeration {Yes!; No!}])
  524.  
  525. Description
  526.  
  527. {RESIZE} resizes all selected objects in the active window (dialog or chart window).
  528.  
  529. Parameters
  530.  
  531. x and y    XY coordinates of the new upper-left corner, in pixels
  532.  
  533. NewWidth    The new width, in pixels, of the object or group
  534.  
  535. NewHeight    The new height, in pixels, of the object or group
  536.  
  537. VertFlip?    1 if the object or group is flipped vertically from its previous position
  538.  
  539. HorizFlip?    1 if the object or group is flipped horizontally from its previous position
  540.  
  541. {ResizeToSame}
  542.  
  543. Syntax
  544.  
  545. ResizeToSame()
  546.  
  547. Description
  548.  
  549. {ResizeToSame} lets you resize selected objects in the dialog window to the same size as the first object selected.
  550.  
  551. {RestrictInput}
  552.  
  553. Syntax
  554.  
  555. {RestrictInput.Option}
  556.  
  557. PerfectScript Syntax
  558.  
  559. RestrictInput_Enter (Block:String)
  560.  
  561. RestrictInput_Exit ()
  562.  
  563. Description
  564.  
  565. {RestrictInput.Enter} enters INPUT mode and stays under macro control until {PAUSEMACRO} is used or {RestrictInput.Exit}, which exits INPUT mode.
  566.  
  567. {RestrictInput.Option} confines selector movement to specific cells of unprotected cells.
  568.  
  569. You can use {RestrictInput?} or {RestrictInput!} to display the Restrict Input dialog box. {RestrictInput?} lets you manipulate the dialog box, whereas {RestrictInput!} relies on the macro to manipulate it.
  570.  
  571. Options
  572.  
  573. {RestrictInput.Enter Block}    Enters INPUT mode and stays under macro control
  574.  
  575. {RestrictInput.Exit}    Any operation that ends INPUT mode
  576.  
  577. {ReturnErrorValue}
  578.  
  579. Syntax
  580.  
  581.  ReturnErrorValue()}
  582.  
  583. PerfectScript Syntax
  584.  
  585. ReturnErrorValue ()
  586.  
  587. Description
  588.  
  589. Reinstates the ability for Quattro Pro to return a specific error value, if one is warranted.
  590.  
  591. {ROWCOLSHOW}
  592.  
  593. Syntax
  594.  
  595. RowColShow(Block As String, Show_ As _RowColShow_Show__enum, Row_ As _RowColShow_Row__enum, FirstPane_ As _RowColShow_FirstPane__enum)
  596.  
  597. PerfectScript Syntax
  598.  
  599. RowColShow (Block:String; Show?:Enumeration {Yes!; No!}; Row?:Enumeration {Yes!; No!}; FirstPane?:Enumeration {Yes!; No!})
  600.  
  601. Description
  602.  
  603. {ROWCOLSHOW} lets you hide or reveal rows and columns (it is equivalent to the cell property Reveal/Hide). Show? specifies whether to reveal (1) or hide (0). Row or Col specifies whether to affect rows (1) or columns (0). Block contains the rows or columns to affect. FirstPane? is used when the active window is split into panes. To affect the columns or rows in the left or top pane, set FirstPane? to 1; to affect rows or columns in the right or bottom pane, set FirstPane? to 0.
  604.  
  605. Example
  606.  
  607. {ROWCOLSHOW A:A..B,1,0,1} reveals columns A and B on sheet A.
  608.  
  609. {ROWCOLSHOW A:1..7,0,1,1} hides rows 1 through 7 on sheet A.
  610.  
  611. {ROWCOLSHOW A:1..7,1,1,0} reveals rows 1 through 7 on sheet A. If the window is split, the rows are revealed in the right or bottom pane.
  612.  
  613. Parameters
  614.  
  615. Block    Cells containing rows or columns to hide or show
  616.  
  617. Show?    1 to reveal rows or columns; 0 to hide rows or columns
  618.  
  619. Row or Col    1 to reveal or hide a row; 0 to reveal or hide a column
  620.  
  621. FirstPane?    1 to affect rows or columns in left or top window pane; 0 to affect them in the right or bottom window pane
  622.  
  623. {ROWHEIGHT}
  624.  
  625. Syntax
  626.  
  627. RowHeight(Block As String, FirstPane_ As _RowHeight_FirstPane__enum, Reset_ As _RowHeight_Reset__enum, Size As Double)
  628.  
  629. PerfectScript Syntax
  630.  
  631. RowHeight (Block:String; FirstPane?:Enumeration {Yes!; No!}; Reset?:Enumeration {Yes!; No!}; Size:Numeric)
  632.  
  633. Description
  634.  
  635. {ROWHEIGHT} provides two ways to change the height of a row or rows (it is equivalent to the cell property Row Height). The rows to change are specified by Block. FirstPane? is used when the active window is split into panes. To resize the rows in the left or top pane, set FirstPane? to 1; to resize the rows in the right or bottom pane, set FirstPane? to 0.
  636.  
  637. Set/Reset specifies how to change the height. To set a row height, use this syntax: {ROWHEIGHT Block, FirstPane?, 0, Size}
  638.  
  639. Size is the new row height, in twips. The maximum height is ten inches (14,400 twips).
  640.  
  641. To reset a row to the default height (determined by font sizes in the row), use this syntax: {ROWHEIGHT Block, FirstPane?, 1}
  642.  
  643. Example
  644.  
  645. {ROWHEIGHT A:1..A:2,1,0,1440} sets the height of rows 1 and 2 (on sheet A) to one inch (1,440 twips).
  646.  
  647. {ROWHEIGHT A:1..A:2,0,0,2160} sets the height of rows 1 and 2 (on sheet A) to one and a half inches (2,160 twips). If the window is split, the top or left pane is affected.
  648.  
  649. {ROWHEIGHT A:5,1,1} resets the height of row 5 (on sheet A) to the default height.
  650.  
  651. Parameters
  652.  
  653. Block    Cells containing rows to resize
  654.  
  655. FirstPane?    1 to resize rows in left or top window pane; 0 to resize rows in right or bottom window pane
  656.  
  657. Set/Reset    0 to set the row height; 1 to reset the row height
  658.  
  659. Size    New height (in twips) if setting size; not needed if resetting size
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.