src/console.cpp
// Changes int param to have the value of the first parameter (since
// the latest one read)... If no more integer params
// are available, returns false (error). Spaces are skipped.

Changes int param to have the value of the first parameter (since
the latest one read)... If no more integer params
are available, returns false (error). Spaces are skipped.
Changes int param to have the value of the first parameter ( since the latest one read ) ... If no more integer params are available returns false ( error ) . Spaces are skipped .
bool consoleClass::getIntegerParam(int &param)
{
	return true;
}
bool consoleClass :: getIntegerParam ( int & param ) { return true ; }
Changes int param to have the value of the first parameter (since
the latest one read)...
Changes int param to have the value of the first parameter ( since the latest one read ) ...
/*	int number=0;
	char* src;

	if (!initialized) return false;

	// we only can work with params if the text in lastText is the
	// latest text typed (meaning a break line has just been pressed)
	if (!lastLineBuffered) return false;

	// skip the spaces, and check for zero.
	if (!skipSpaces()) return false;

	// reset the pointer
	src=lastLine+nextParam;

	// read the number
	while (*src!=' ' && *src!=0) {
		// fail if it's not a digit
		if (*src<'0' || *src>'9') return false;

		// add it to the number
		number=number*10+(*src-'0');

		src++; nextParam++;
	}

	// return the right number
	param=number;
*/ // all ok
