Experimental Physics and Industrial Control System
Aloha,
Any chance of adding something like:
*** dbToRecordtypeH.c.ORIG Mon Jun 1 09:39:46 1998
--- dbToRecordtypeH.c Fri Nov 1 16:31:53 2002
***************
*** 124,133 ****
fprintf(outFile,"#define INC%sH\n",pdbMenu->name);
fprintf(outFile,"typedef enum {\n");
for(i=0; i<pdbMenu->nChoice; i++) {
! fprintf(outFile,"\t%s",pdbMenu->papChoiceName[i]);
! if(i < (pdbMenu->nChoice - 1)) fprintf(outFile,",");
! fprintf(outFile,"\n");
}
fprintf(outFile,"}%s;\n",pdbMenu->name);
fprintf(outFile,"#endif /*INC%sH*/\n",pdbMenu->name);
pdbMenu = (dbMenu *)ellNext(&pdbMenu->node);
--- 124,132 ----
fprintf(outFile,"#define INC%sH\n",pdbMenu->name);
fprintf(outFile,"typedef enum {\n");
for(i=0; i<pdbMenu->nChoice; i++) {
! fprintf(outFile,"\t%s,\n",pdbMenu->papChoiceName[i]);
}
+ fprintf(outFile,"\t%s_Count\n",pdbMenu->name);
fprintf(outFile,"}%s;\n",pdbMenu->name);
fprintf(outFile,"#endif /*INC%sH*/\n",pdbMenu->name);
pdbMenu = (dbMenu *)ellNext(&pdbMenu->node);
to the .dbd->.h conversion so that there's a count of menu entries for each
menu?
Mahalo,
Jim
- Replies:
- Re: request for count value in record enumerated types Andrew Johnson
- Navigate by Date:
- Prev:
Re: When does a link process its target record? Ned Arnold
- Next:
RE: When does a link process its target record? Laznovsky, Michael
- 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: When does a link process its target record? Laznovsky, Michael
- Next:
Re: request for count value in record enumerated types Andrew Johnson
- 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