Weirdness in screen program
Joe Boyle
joeboyle_adt@hotmail.com
Tue, 11 May 2004 10:51:42 +0100
<html><div style='background-color:'><DIV class=RTE>
<P>I think that display verbs are normally expected in the output proc rather than the edit proc ? or at worst placed in the process proc.</P></DIV>
<DIV></DIV>>From: "Peter Bateman" <shediac92@hotmail.com>
<DIV></DIV>>To: powerh-l@lists.sowder.com
<DIV></DIV>>Subject: RE: Weirdness in screen program
<DIV></DIV>>Date: Mon, 10 May 2004 12:55:41 -0300
<DIV></DIV>>
<DIV></DIV>>Mark:
<DIV></DIV>>
<DIV></DIV>>I just want to confirm that the DISPLAY verb was taken out
<DIV></DIV>>of the EDIT procedure for t'OBJECT_CODE.
<DIV></DIV>>
<DIV></DIV>>Any verb that modifies FIELDTEXT i.e. DISPLAY, ACCEPT etc,
<DIV></DIV>>except LET.
<DIV></DIV>>should not be used in an EDIT procedure because the verb
<DIV></DIV>>obliquely modifies the field that is being edited.
<DIV></DIV>>
<DIV></DIV>>e.g. Field X
<DIV></DIV>> Field Y
<DIV></DIV>> PROCEDURE EDIT Y
<DIV></DIV>> DISPLAY X
<DIV></DIV>>Y gets the value of X regardless of what the user entered
<DIV></DIV>>for Y!
<DIV></DIV>>
<DIV></DIV>>Sometimes, just to protect FIELDTEXT I save it in a temporary
<DIV></DIV>>if I am going to do sometime that would modify it.
<DIV></DIV>>
<DIV></DIV>>ie LET t'FIELDTEXT = FIELDTEXT
<DIV></DIV>> LET t'SIZE_FIELDTEXT = SIZE(FIELDTEXT)
<DIV></DIV>>; --
<DIV></DIV>> DISPLAY Z
<DIV></DIV>> LET FIELDTEXT=t'FIELDTEXT[1:t'SIZE_FIELDTEXT]
<DIV></DIV>>Regards,
<DIV></DIV>>Peter
<DIV></DIV>>
<DIV></DIV>>_________________________________________________________________
<DIV></DIV>>Free yourself from those irritating pop-up ads with MSn Premium. Get
<DIV></DIV>>2months FREE*
<DIV></DIV>>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
<DIV></DIV>>
<DIV></DIV>>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
<DIV></DIV>>Mailing list: powerh-l@lists.sowder.com
<DIV></DIV>>Subscribe: "subscribe" in message body to
<DIV></DIV>>powerh-l-request@lists.sowder.com
<DIV></DIV>>Unsubscribe: "unsubscribe <password>" in message body to
<DIV></DIV>>powerh-l-request@lists.sowder.com
<DIV></DIV>>http://lists.sowder.com/mailman/listinfo/powerh-l
<DIV></DIV>>This list is closed, thus to post to the list you must be a
<DIV></DIV>>subscriber.
<DIV></DIV></div><br clear=all><hr>Have more fun with your phone - download ringtones, logos, screensavers, games & more. <a href="http://g.msn.com/8HMAENUK/2728??PS=47575">Click here to begin!</a> </html>