The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 datasets and worksheet ??
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alex_eagle

Austria
36 Posts

Posted - 02/23/2002 :  12:07:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
in a script I make a worksheet with the create -w command, then I add columns with the worksheet -a command. But its not possible to set values in the worksheet with script for rows greater than 30 ?
e.g. %(%H,3,31)=5 leads to a command error ?
Does somebody know this problem ?
Thanks

Mike Buess

USA
3037 Posts

Posted - 02/23/2002 :  4:10:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
New columns, like worksheets created with win -t Data, have only 30 rows. You need to use the set command after adding columns.

create test -w 64; // create wks named test with 2 columns, 64 rows
wo -a 1; // add a column
set test -er 64; // set the number of rows to 64 again
%(%H,3,31)=5; // no error

See this topic for a related discussion.

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000