| T O P I C R E V I E W |
| Gobman |
Posted - 05/19/2003 : 10:00:30 PM I want to highlight one column, then give it an offset, such as all value +1 or +2, then next column. Are there any simply command to do: active_column+=1; ? Thank you very much.
Gob
|
| 2 L A T E S T R E P L I E S (Newest First) |
| Gobman |
Posted - 05/20/2003 : 9:12:16 PM Thanks. It works well.
Gob
|
| easwar |
Posted - 05/20/2003 : 2:18:10 PM Hi Gob,
If you have the worksheet active and you have selected a column by clicking on the header of the column, or by clicking on any row inside that columns, then the variable %c in LabTalk holds the name of that dataset.So in script window you can say %c+=1 to add 1 to all elements of that dataset. This is the same as typing data1_b+=1
There are other commands to loop thru all columns in a worksheet programatically, and you can find them in the LabTalk documentation.
Easwar OriginLab.
|
|
|