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
 range: alter data in multi-column data block
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 07/05/2022 :  05:44:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

The code:

range TargetCells = [Data]"Sheet"!3[1]:201[10];
TargetCells = TargetCells / 100;


modifies only the first column of the data, that is [Data]"Sheet"!3[1]:3[10].

What is the proper way to alter data in the multi-column block?

Thank you.

---
Andrey

minimax

357 Posts

Posted - 07/05/2022 :  06:09:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
range -v TargetCells = [Data]"Sheet"!3[1]:201[10];
TargetCells = TargetCells / 100;


use swicth -v.
https://www.originlab.com/doc/en/LabTalk/guide/Range-Notation#Option_Switch_-vOption_Switches
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 07/05/2022 :  07:04:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimax

range -v TargetCells = [Data]"Sheet"!3[1]:201[10];
TargetCells = TargetCells / 100;


use swicth -v.
https://www.originlab.com/doc/en/LabTalk/guide/Range-Notation#Option_Switch_-vOption_Switches



Got it.
Thanks.

---
Andrey
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