What does this Qbasic code mean: Eol$=INPUT$(2,#Chan)?

Status
Not open for further replies.

freakazoid

Newbie level 6
Joined
Mar 31, 2006
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
qbasic programming...

i've read a code write in qbasic but don't understand one thing...
what is the meaning for this code?

Code:
Eol$=INPUT$(2,#Chan)

Chan is the filename loaded.can someone tell me what the code does?if i want to change it to visual basic 6.0 code,how to write it?
 

Re: qbasic programming...

i think that it means to read from Chan file 2 variables and put them in Eol.
 

Re: qbasic programming...

The Doller sign [$] after variables means that the variable is a string one!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…