QDESIGN - 'DEFINE' vs 'TEMP'
STEWARTM@dteenergy.com
STEWARTM@dteenergy.com
29 Oct 98 12:56:59 -0500
--=_ORCL_2125465_0_0
Content-Transfer-Encoding:quoted-printable
Content-Type:text/plain; charset="iso-8859-1"
>I was taught that it was better to use TEMP items than DEFINED items
because
DEFINED
>items are only evaluated when you display the field or press enter at
>the field.
I'd say using TEMPs can speed things up in some cases because like Blue said=
they remain more constant and do not have to be reinitialized a hundred
times
or whatever during execution. When you are doing anything like counting,
sorting, or anything like that I'd go with the DEFINE since it gets
redefined
as data is manipulated. Sometimes using TEMP in place of DEFINE works but
the
data may not be what you expect. Use caution.
Mark Stewart
Consultants Club Corp.
Windsor, Ontario
Canada
--=_ORCL_2125465_0_0
Content-Type:message/rfc822
Date: 29 Oct 98 11:32:07
From:Carol Kaffenberger <kaffenbe@karmanos.org>
To:powerh-l
Subject:QDESIGN - 'DEFINE' vs 'TEMP'
Return-Path:<powerh-l-owner@lists.swau.edu>
Received:by mail.detroitedison.com with ESMTP id MAA05475; Thu, 29 Oct 1998 12:00:22 -0500 (EST)
Received:by dte.detroitedison.com with ESMTP id MAA08365; Thu, 29 Oct 1998 12:00:14 -0500 (EST)
Received:from localhost (daemon@localhost) by sphere.swau.edu (8.9.1/8.9.1) with SMTP id KAA31676; Thu, 29 Oct 1998 10:52:30 -0600
Received:by sphere.swau.edu (bulk_mailer v1.9); Thu, 29 Oct 1998 10:52:08 -0600
Received:(from daemon@localhost) by sphere.swau.edu (8.9.1/8.9.1) id KAA31638 for powerh-l-outgoing; Thu, 29 Oct 1998 10:52:06 -0600
Received:from kci.wayne.edu (kci.wayne.edu [146.9.106.31]) by sphere.swau.edu (8.9.1/8.9.1) with ESMTP id KAA31633 for <powerh-l@lists.swau.edu>; Thu, 29 Oct 1998 10:51:58 -0600
Received:from karmanos.org by kci.wayne.edu (8.8.8+Sun/SMI-SVR4) id LAA02439; Thu, 29 Oct 1998 11:32:21 -0500 (EST)
Message-ID:<36389886.1AD4D43E@karmanos.org>
Organization:Karmanos Cancer Institute
Sender:owner-powerh-l@sphere.swau.edu
MIME-Version: 1.0
Content-Type:multipart/mixed;
boundary="=_ORCL_2124740_0r0"
--=_ORCL_2124740_0r0
Content-Type:text/plain; charset=us-ascii
Content-Transfer-Encoding:7bit
I recently attended the Advanced Powerhouse Level 1 class. I was taught
that it was better to use TEMP items than DEFINED items because DEFINED
items are only evaluated when you display the field or press enter at
the field. However, the QDESIGN manual states that DEFINED items are
evaluated everytime they are referenced (which was my understanding
until I took the class).
Can anyone explain when to use a DEFINED item versus a TEMP item in
QDESIGN? Do the same rules apply to QUIZ and QTP?
I generally use DEFINED items when the value of the variable does not
change based on different input conditions. I use TEMP items when the
value of the variable changes based on different input conditions.
Thanks.
Carol Kaffenberger
HP3000 - MPE/ix - Release C.55.00
PH Version 7.29.C8
--=_ORCL_2124740_0r0
Content-Type:text/x-vcard; charset=us-ascii; name=vcard.vcf
Content-Disposition:attachment; filename=vcard.vcf
Content-Transfer-Encoding:7bit
begin: vcard
fn: Carol Kaffenberger
n: Kaffenberger;Carol
org: Karmanos Cancer Institute
email;internet: kaffenbe@karmanos.org
title: Information Systems
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--=_ORCL_2124740_0r0--
--=_ORCL_2125465_0_0--
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.