|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 894 (0x37e)
Types: TextFile
Names: »grind4-8b.tex«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/doc/manual/grind4-8b.tex«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/doc/manual/grind4-8b.tex«
\File{grind4\-8b.py},{11:13},{Jul 4 1988}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\Proc{Date}Date ::=}}
\L{\LB{}\Tab{8}{[\K{APPLICATION} 3]}}
\L{\LB{}\Tab{8}{ \K{IMPLICIT} IA5String \C{}\-\- YYYYMMDD \-\-\CE{}}}
\L{\LB{}\Tab{8}{ [[s Date]]}}
\L{\LB{}\Tab{8}{ \%\{}}
\L{\LB{}\Tab{16}{int year, month, day;}}
\L{\LB{}\Tab{16}{static char buffer[BUFSIZ];}}
\L{\LB{}}
\L{\LB{}\Tab{16}{if (sscanf (Date, \S{}\"\%4d\%2d\%2d\"\SE{}, \&year, \&month, \&day) != 3}}
\L{\LB{}\Tab{24}{\|\| year \< 1900 \|\| month \< 1 \|\| month \> 12}}
\L{\LB{}\Tab{24}{\|\| day \< 1 \|\| day \> 31)}}
\L{\LB{}\Tab{16}{ adios (NULLCP, \S{}\"bad date format: \%s\"\SE{}, Date);}}
\L{\LB{}\Tab{16}{(void) sprintf (buffer, \S{}\"\%02d \%s \%4d\"\SE{}, day,}}
\L{\LB{}\Tab{24}{ months[month \- 1], year);}}
\L{\LB{}\Tab{16}{Date = buffer;}}
\L{\LB{}\Tab{8}{ \%\}}}
\L{\LB{}}
\L{\LB{\K{END}}}
\L{\LB{}}
\L{\LB{...}}