> Is there a way to specify (in the record's PRECision field) to direct a medm
> text monitor to fill the displayed VALue with leading zeros? I want the
> display to show '02', not '2'. In a printf statement the syntax would be
> %02d.
>
> -ps
>
>
No, not directly. If its REAL important you could write a simple device
support routine for a stringin record that puts it into whatever format
you want. The stringin record could fetch the value you want using the
.INP field.
Ned
- Replies:
- Re: medm: leading zeros Chip WATSON
- Navigate by Date:
- Prev:
medm: leading zeros Paul Sichta
- Next:
Re: medm: leading zeros Tim Mooney
- 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:
medm: leading zeros Paul Sichta
- Next:
Re: medm: leading zeros Chip WATSON
- 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
|