Check output device is a terminal: Difference between revisions
Check output device is a terminal en FreeBASIC
m (→{{header|REXX}}: changed wording a bit, fixed a typo, added whitespace, changed some comments, used a template for the output section, added the output from R4 REXX.) |
(Check output device is a terminal en FreeBASIC) |
||
Line 233:
1
</lang>
=={{header|FreeBASIC}}==
<lang freebasic>
Open Cons For Output As #1
' Open Cons abre los flujos de entrada (stdin) o salida (stdout) estándar
' de la consola para leer o escribir.
If Err > 0 Then
Print #1, "stdout is not a tty."
Else
Print #1, "stdout is a tty."
End If
Close #1
Sleep
</lang>
=={{header|Go}}==
|