MC-Basic:LOADCOMPDATA

From SoftMC-Wiki
Revision as of 16:01, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= LCompData |SYNTAX= LoadCompData <''Filename''> <''comptablename''> |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= This command causes data to …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This command causes data to be loaded from a file into a Comp table structure. Any existing data associated with the specified Comp table is erased.

The <Filename> is a binary file with a .CMP extension.

The BasicMoves Development Studio will allow you to add a CSV Comp File to your project. It then converts it to a binary format automatically when the project is  loaded. The values in the source column should be evenly spaced and monotonically increasing.

After loading a table from file the CompSet command is necessary to assign the axes.

Short form

LCompData

Syntax

LoadCompData <Filename> <comptablename>

Availability

Versions 3.6.20 and higher

Scope

Task and Terminal

Limitations

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

Examples

LoadCompData Compdata.cmp comp1

CompSet Comp1 A1, A3, A4 on A2, A6, A5

See Also