Walk a directory/Non-recursively: Difference between revisions

Added BaCon code.
(Added BaCon code.)
Line 269:
out .= A_LoopFileName "`n"
MsgBox,% out</lang>
 
=={{header|BaCon}}==
This code will print all files in the current directory ".", separated by a newline symbol:
<lang qbasic>PRINT WALK$(".", 1, ".+", FALSE, NL$)
</lang>
 
=={{header|BASIC}}==
Anonymous user