Shell one-liner: Difference between revisions

Content added Content deleted
m (→‎{{header|NetLogo}}: format correction)
Line 325: Line 325:
This is forcing the issue. FB has much more elegant ways of interacting with the Unix Shell.
This is forcing the issue. FB has much more elegant ways of interacting with the Unix Shell.
<lang futurebasic>
<lang futurebasic>
include "ConsoleWindow":dim a$:open "Unix",1,"cal 10 2018":do:line input #1,a$:print a$:until eof(1):close 1
window 1,,(0,0,160,120):Str255 a:open "Unix",1,"cal 10 2018":do:line input #1,a:print a:until eof(1):close 1:HandleEvents
</lang>
</lang>