...
Code Block |
---|
[Main] Function int aa(int nn) { ty "inside function"; sdf;//error return 1; } int nErr = aa(0); ty "after function"; |
SupportĀ Labtalk Function to Generate Patterned Data
(ORG-7900)
Code Block |
---|
/// numeric
col(A)=pattern(1,10,2,2,3); /// from, to, inc, value repeat count, sequence repeat count
/// string
stringarray sa;
sa.Add("NY");
sa.Add("MA");
col(B)=pattern(sa, 2, 3); /// string sources, value repeat count, sequence repeat count
//can also allow quoted string separated by pipe, comma, or space
col(B)=pattern("NY|MA", 2, 3);
col(B)=pattern("NY,MA", 2, 3);
col(B)=pattern("NY MA", 2, 3);
//also, can have it from a range
col(B)=pattern(col(c), 2, 3); |
SupportĀ Variables for Row SubrangeĀ Notation
...