Hi Folks,

i've a quiestion about returning strings correctly.
is the following way a correcty one ?

Code:
		.
		.
		.
		string token = nextToken();
		if (token.empty())
			done = true;
		else
		.
		.
		.
		
	
string nextToken()
{
		string dummy;

		reutrn (dummy);	// just return an empty string.
}
It works but is it safe to use it like this ???

Regards,
Robert