On Wednesday 14 February 2001 17:36, Karl J. Stubsjoen wrote:
> When you @ "at" a command (supress error messaging) within a function,
> is the scope of the @ within the function?
>
> Example:
>
>
> CloseODBC(1);
>
> # is error message supressed here too?
>
>
> function CloseODBC($connection_id)
> {
> # error messaging supressed
> @odbc_close($connection_id);
>
> }
Huh?
When you call CloseODBC (), the code in that function is executed - and
there odbc_close() is called with the "@" - so it doesn't report an error.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]