DEFAULT WITH DEFINE

pickerij@norbord.com pickerij@norbord.com
Tue, 1 Dec 1998 12:49:12 -0500


>Is there a way to default a DEFINE statement without setting
>up another DEFINE statement?
>
>Example:
>
>DEFINE TEMP01 DATE =  &
>  PARM PROMPT "DATE:  " DEFAULT SYSDATE

In one word, nope! Two defines are needed, such as:

def d_date_parm date = parm
def d_date date &
 = d_date_parm &
 if 0 ne d_date_parm &
 els sysdate

John Pickering
JWP Systems Inc
Toronto
   

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.