| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.10

 

tok_size

#include "sfltok.h"
int
tok_size (
    char **token_list)

Synopsis

Returns size of specified token list, in entries. Stops at the empty terminating token. Thus the table "This", "Is", "A", "String" will return a size of 4.

Source Code - (sfltok.c)

{
    int
        word_nbr;

    for (word_nbr = 0; token_list [word_nbr]; word_nbr++);
    return (word_nbr);
}

| << | < | > | >> iMatix Copyright © 1996-99 iMatix Corporation