DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦9399b3c34⟧ TextFile

    Length: 372 (0x174)
    Types: TextFile
    Names: »natarg.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPSUBS/natarg.c« 

TextFile

#define D_FILES
#include        "empdef.h"

natarg(cp, np)
char    *cp, *np;
{
        register        n;
        char    *getstar();

        cp = getstar(cp, np);
        n = (*cp >= '0' && *cp <= '9') ? atoi(cp) : cnumb(cp);
        if( n < 0 || n > maxcno ) {
                printf("No such country exists.\n");
                n = -1;
        }
        return(n);
}