ConStdIn function



Boolean& = ConStdIn


Legacy Syntax:

Boolean& = CONSIN


Pseudo-object Syntax:

Boolean& = CON.IN


Indicates whether or not standard input is being redirected.


Returns TRUE (non-zero) if standard input is originating at the console keyboard, or FALSE (zero) if it is redirected from a file or device.




#IF %DEF(%PB_CC32)

  Boolean& = CONSIN


  Boolean& = ConStdIn



CON.IN or CONSOLE.IN may be substituted for CONSIN in programs written for PB/CC 6.  The syntax " ... TO Boolean&" may be used instead of "Boolean& = ..."


See Also: ConStdOut, StdInputLine, StdInEOF