Execute a system command: Difference between revisions

m
→‎{{header|FutureBasic}}: Add 'print' to FB 7.0.23 entry. Remove 'dim as' from open unix entry
(Added unix function/statement in F 7.0.23)
m (→‎{{header|FutureBasic}}: Add 'print' to FB 7.0.23 entry. Remove 'dim as' from open unix entry)
Line 692:
FB 7.0.23+
<syntaxhighlight lang="futurebasic">
unixprint unix(@"ls -A")
</syntaxhighlight>
Classic FB using Pascal strings
<syntaxhighlight>
local fn DoUnixCommand( cmd as str255 )
dim as str255 s
 
open "Unix", 2, cmd
416

edits