stdin make a more.exe my own

New to FreeBASIC? Post your questions here.
honey data
Posts: 28
Joined: Feb 11, 2018 19:54
Location: portugal lisbon

stdin make a more.exe my own

Postby honey data » Feb 14, 2018 11:19

im wat to make a program like more.exe

run command line:

dir | more.exe

to learn to do a percent bar

Code: Select all

dim s as string
dim ss as string
dim i as integer
dim d as integer

color 15,1

open cons for input as #1
line input #1,s
print s
 if eof(1) then exit do

close #1

print "press key to continue";

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 2 guests