##

    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70

    int getsp(Graph *G, char *mess){
    int i;
    double d;
    char *s;

        i = pgin_read_int("Get some parameters", "Give me an int",
                    10, 1, 2000000, 1);
        d = pgin_read_double("Get some parameters", "Give me a double",
                    0.0, -10.0, 10.0, 0.1, 1);
        s = pgin_read_string("Get some parameters", "Give me a string",
                    "I'm a string", 40);

        sprintf(mess, "I got: %d, %f and '%s'. Thanks!", i, d, s);
        free(s);

        return 1;
    }