Difference between revisions of "MC-Basic:CREATECOMP"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
m
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This command defines the compensation table size. Any data associated with the specified Comp table is erased.
+
This command defines the compensation (Comp) table size. Any data associated with the specified Comp table is erased.
  
<comp table name> is the predefined comp variable
+
<'comptablename''> is the predefined comp variable
  
 
<''k1,k2,….kn''> defines the number of entries in the table for each axes
 
<''k1,k2,….kn''> defines the number of entries in the table for each axes
Line 37: Line 37:
 
CreateComp Comp1 3 ,4, 8
 
CreateComp Comp1 3 ,4, 8
  
(It will create a table with 3*4*8 number of rows and 6 number of columns )
+
<font color="red">
 +
It will create a table with 3×4×8 number of rows and 6 number of columns
 +
</font>
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 12:54, 20 March 2014

This command defines the compensation (Comp) table size. Any data associated with the specified Comp table is erased.

<'comptablename> is the predefined comp variable

<k1,k2,….kn> defines the number of entries in the table for each axes

Short form

CComp

Syntax

CreateComp <comptablename> <k1,k2,….kn>

Availability

Versions 3.6.20 and higher

Type

<k1,k2,….kn>  Long

Range

<k1,k2,….kn> : 2 to MaxLong

Scope

Task and Terminal

Limitations

The Comp table must not be in use (CompActive=0)

Examples

CreateComp Comp1 3 ,4, 8

It will create a table with 3×4×8 number of rows and 6 number of columns

See Also