Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

syntax Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
BOBLOEB
Posted : Wednesday, June 29, 2005 12:28:47 PM
Registered User
Joined: 6/12/2005
Posts: 18
H > H1 AND C > C1 AND O > C AND C > C2

Is there anything wrong with the syntax of this formula? Do I need
parentheses somwhere?
Doug_H
Posted : Wednesday, June 29, 2005 12:33:26 PM


Worden Trainer

Joined: 10/1/2004
Posts: 4,308
You don't need parentheses, but sometimes they make a formula easier to read. I'd put parens around each expression that is separated by AND. I tested this one as written, just to be sure, and it tests fine.

Remember, when you test a boolean (true/false) PCF like this, depending no your test symbol, yuo'll either get a result of true or false. Both are valid results. If there was a syntax problem, you would get a message saying Error in Formula Syntax.

- Doug
Teaching Online!
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.