Qbasicnews.com
December 03, 2021, 01:54:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: INPUT (open) in FB is not the same as in FB  (Read 1179 times)
Mecki
Member
*
Posts: 27



WWW
« on: March 21, 2005, 08:30:13 PM »

Hi Smiley

I'm reading a little file with that test-code:
Code:
open "test.txt" for input as #1
?lof(1)
 do until eof(1)
  input #1, a, b$, c$, d$, e$
  ?a,b$,c$,d$,e$
 loop
close #1


and the file-content:
Code:
7,"Drehmoment","aFM","a1*F1=a2*F2=M","L5~I7~I4~"
8,"Dichte","rmV","r=m/V","L6~"
9,"Gasgleichung","pTV","p=T*V","L8~I20~I22~""


It works fine in QB but not in FB  :cry:

Mecki
Logged

he dogs bark, but the caravan keeps moving.
v3cz0r
I hold this place together
*****
Posts: 924



WWW
« Reply #1 on: March 21, 2005, 09:56:16 PM »

True, fixed, the comma wasn't been skipped when quoted strings were read.

The patch will be in the next release..
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!