numeric var1[, var2[..., var-n]];
The numeric statement declares temporary numeric variables used only in this application. They will not be saved to a data file defined by a dictionary. Temporary numeric variables must be declared with the numeric statement if the set explicit menu option is checked (from the menu Options/Set Explicit) or if a set explicit statement is included in the PROC GLOBAL section of your program. A numeric variable is an integer or decimal number significant to 15 digits.
Local variables, with a limited scope, can also be declared in functions and PROCs. The variable will only exist and be accessible from within the function or PROC where it is declared. (In the case of a PROC, it is available in all events after it is declared. For example, a numeric declared in the preproc will still be accessible in the postproc.) A local variable cannot have the same name as a globally declared variable.
NumOfKids = NumOfKids + 1;