|
|
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 l
Length: 580 (0x244)
Types: TextFile
Names: »longfix.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPFIX/longfix.c«
extern int xflg, wflg, mflg;
/*
n = ptr to name
vp=ptr to current value
wv=default value
*/
longfix(n, vp, wv)
char *n;
long *vp, wv;
{
char *cp, *getstri();
long atol();
if( xflg ) return;
if( wflg ) {
*vp = wv;
return;
}
printf(" %5s %ld ", n, *vp);
cp = getstri("");
if( *cp == 'x' ) {
xflg++;
return;
}
if( *cp == '\0' ) return;
*vp = atol(cp);
mflg++;
return;
}