lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>From Thu Aug  5 22:34:02 1999
>From: Dave Bollinger <>

>   Is it legitimate to compare "if _OUTPUT = _STDOUT then ..."?  It seems


>Is it further legal to compare an object of
>unspecified type to _STDOUT to test if it is the stdout file handle?  (I'm

yes.  file handles are simply tagged userdata.

you're on the right track.