Author |
Message |
Keith Storri #1 / 12
|
 Input vs Input$
I'm using VB3.0. I'm reading lines of data in from a sequential file. I was using the Input command but it assumes commas to be the end of string (which I don't want) I can't use the Input$ command because the number of characters to read in is unknown. Any ideas how I can read in ALL characters up to the carriage return? Thanks in advance, Keith :)
|
Sun, 06 Jun 1999 03:00:00 GMT |
|
 |
Keith Storri #2 / 12
|
 Input vs Input$
Line Input does the trick. Thanx
|
Sun, 06 Jun 1999 03:00:00 GMT |
|
 |
Hans Graneg?r #3 / 12
|
 Input vs Input$
Quote:
> I'm using VB3.0. > I'm reading lines of data in from a sequential file. I was using the > Input command but it assumes commas to be the end of string (which I > don't want) I can't use the Input$ command because the number of > characters to read in is unknown. > Any ideas how I can read in ALL characters up to the carriage return? > Thanks in advance, > Keith :)
LINE INPUT is an old basic command, which is covered in the manual!
|
Sun, 06 Jun 1999 03:00:00 GMT |
|
 |
Silas E. Cheesem #4 / 12
|
 Input vs Input$
Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return?
LINE INPUT
|
Sun, 06 Jun 1999 03:00:00 GMT |
|
 |
Lee Wein #5 / 12
|
 Input vs Input$
Quote: >I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return?
Look up Line Input # in HELP. Lee Weiner
"The difference between a wise man and a fool is that the fool never learns from his mistakes."
|
Mon, 07 Jun 1999 03:00:00 GMT |
|
 |
Derrick Ki #6 / 12
|
 Input vs Input$
Try using the 'LINE IN)PUT$' command, this will read a complete line Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return? >Thanks in advance, >Keith :)
|\ /\ /| |*\/**\/*| ---------- ================================================= When the going gets tough, its time to go home =================================================
|
Thu, 10 Jun 1999 03:00:00 GMT |
|
 |
Derrick Ki #7 / 12
|
 Input vs Input$
test Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return? >Thanks in advance, >Keith :)
|\ /\ /| |*\/**\/*| ---------- ================================================= When the going gets tough, its time to go home =================================================
|
Fri, 09 Jul 1999 03:00:00 GMT |
|
 |
Derrick Ki #8 / 12
|
 Input vs Input$
Try using the 'LINE INPUT$' command, this will read all characters in a line Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return? >Thanks in advance, >Keith :)
|\ /\ /| |*\/**\/*| ---------- ================================================= When the going gets tough, its time to go home =================================================
|
Fri, 09 Jul 1999 03:00:00 GMT |
|
 |
Derrick Ki #9 / 12
|
 Input vs Input$
Try using the 'LINE INPUT$' command, this will read a compllete line Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return? >Thanks in advance, >Keith :)
|\ /\ /| |*\/**\/*| ---------- ================================================= When the going gets tough, its time to go home =================================================
|
Fri, 09 Jul 1999 03:00:00 GMT |
|
 |
Derrick Ki #10 / 12
|
 Input vs Input$
try using the 'Line Input$' command, this will read ALL characters in a line Quote:
>I'm using VB3.0. >I'm reading lines of data in from a sequential file. I was using the >Input command but it assumes commas to be the end of string (which I >don't want) I can't use the Input$ command because the number of >characters to read in is unknown. >Any ideas how I can read in ALL characters up to the carriage return? >Thanks in advance, >Keith :)
|\ /\ /| |*\/**\/*| ---------- ================================================= When the going gets tough, its time to go home =================================================
|
Fri, 09 Jul 1999 03:00:00 GMT |
|
|