How Come?
Bruce Hobbs
brucehobbs@engineeredsw.com
Tue, 8 Dec 1998 16:38:58 -0500
--============_-1298969355==_ma============
Content-Type: text/plain; charset="us-ascii"
At 12:49 PM -0800 12/08/1998, Terry Pickering wrote:
>The reason I'm asking, is because when I code, I normally use the first
>method and it usually works just fine. But if I try to use the following
>syntax, it doesn't work unless I put the field name on the right of the
>equation.
>
>IF FIELD-AMT - 10 = 0
> THEN ....
>(does not work)
>
>IF 0 = FIELD-AMT - 10
> THEN ....
>(works just fine)
I don't have a manual with me, but I'm pretty sure this applies to Quiz and
QTP, too. If you closely examine the syntax, you're only permitted to use
an expression on the ride side of the operator.
=======================================================================
Bruce Hobbs, CCP, CDP 856 N Monterey St Phone: (626) 570-8028
Partner Alhambra, CA 91801-1574 FAX: (626) 570-9850
Engineered Software E-mail: brucehobbs@engineeredsw.com
--============_-1298969355==_ma============
Content-Type: text/enriched; charset="us-ascii"
At 12:49 PM -0800 12/08/1998, Terry Pickering wrote:
<excerpt>The reason I'm asking, is because when I code, I normally use
the first method and it usually works just fine. But if I try to use
the following syntax, it doesn't work unless I put the field name on
the right of the equation.
IF FIELD-AMT - 10 = 0
THEN ....
(does not work)
IF 0 = FIELD-AMT - 10
THEN ....
(works just fine)
</excerpt>
I don't have a manual with me, but I'm pretty sure this applies to Quiz
and QTP, too. If you closely examine the syntax, you're only permitted
to use an expression on the ride side of the operator.
=======================================================================
Bruce Hobbs, CCP, CDP 856 N Monterey St Phone: (626) 570-8028
Partner Alhambra, CA 91801-1574 FAX: (626) 570-9850
Engineered Software E-mail: brucehobbs@engineeredsw.com
--============_-1298969355==_ma============--
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.