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
Forum for Origin C
How do I compare numerical cell values?
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Leyawin
1 Posts
Posted - 02/19/2015 : 04:43:56 AM
Origin Ver. and Service Release (Select Help-->About Origin):
OriginPro 8 SR4
Operating System:
Windows 8.1
After hours of difficult programming I stumbled upon this elementary issue, and I can't seem to find an answer in the documentation.
I have an if-loop where I want to compare 2 cell values in a worksheet, basically:
If(ValueOfCellA>ValueofCellB)
{
Do some commands
}
So my question to you guys is:
How do I refer to the numerical value of a cell in a worksheet?
cpyang
USA
1406 Posts
Posted - 02/20/2015 : 9:48:35 PM
Usually worksheet cells are accessed by a dataset, but you can certainly use the Cell method on a data sheet, see
http://www.originlab.com/doc/OriginC/ref/Datasheet-Cell
CP
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000