hello all,
I am thinking that we should add display arguments declaration to
"modify display attributes" in edd. This would be a single
parameter with the following syntax:
"<arg0> {= <default>} , <arg1> {= <default>} , ..."
example:
"BPMNO = 1, SECTOR = blue, BLDG"
In this case when starting the display if they dont specify a value
for the macro "BPMNO" then the value assigned will be "1". If they
dont specify "SECTOR" then the value "blue" will be assigned.
If they dont specify "BLDG" then they will be prompted for this
argument via a dialog box.
For backwards compatibility (and convenience) if the display
arguments declaration isnt provided (is empty) then dm would continue
to operator as it does today (without argument checks).
I see three main advantages to this approach:
o better error messages if the arguments are over/under specified
o optional defaults for arguments (allows adding new arguments to a display
without breaking preexisting callers of the display)
o the possibility of prompting for missing arguments via a dialog box
Jeff
______________________________________________________________________
Jeffrey O. Hill Internet [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos, NM 87545 USA FAX 505 665 5107
- Navigate by Date:
- Prev:
Re: Logging of Write Actions watson
- Next:
Re: dm display arguments declaration William Lupton
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Logging of Write Actions watson
- Next:
Re: dm display arguments declaration William Lupton
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|