Search found 10 matches

by Geminga
Fri Oct 01, 2010 7:46 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

Ahhh... OK. Well, today is probably my last day of "playing on the computer". First-of-the-month means returning to other pressing issues. That last post makes sense, Burger, hopefuly that clears it up. Thanks again, and maybe we'll bump into each other in the future. Geminga, in VT aka Pe...
by Geminga
Thu Sep 30, 2010 7:49 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

CODE button not working as expected.
Yep, I'm a newbie...
by Geminga
Thu Sep 30, 2010 7:48 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

Here's the code: DO INPUT #1, col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14, col15, col16, col17, col18, col19, col20, col21, col22, col23, col24, col25, col26, col27, col28, col29, col30, col31, col32, col33, col34, col35, col36, col37, col38 star.col1 = co...
by Geminga
Wed Sep 29, 2010 3:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

Well, still a problem. The code as sugested wouldn't "debug" in QBasic. An error about including a "." "Identifier cannot include a period". I see in other threads that this a common prob... -------------------------------- CLS TYPE startype col1 AS STRING * 12 . . . co...
by Geminga
Wed Sep 29, 2010 2:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

Thanks burger!

I'll give that a try.
by Geminga
Wed Sep 29, 2010 8:19 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19260

PUT creates binary Random-Access file?

The following code is supposed to re-format a fixed-width database file as CSV. The output contains the correct number of bytes, but is no longer text:( The book 'QBasic by Example' sheds no light on this. What did I do wrong? TIA ---------------------------------------------------------------------...
by Geminga
Sat Sep 25, 2010 8:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE
Replies: 9
Views: 15000

Excellant!
Thank you so much:)
by Geminga
Sat Sep 25, 2010 12:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE
Replies: 9
Views: 15000

Thanks for the the help:) My main reference is a book called 'QBasic by Example'. It shows how INPUT can be used to read the fields from a CSV. I'm trying to *make* a CSV from a very large fixed-width file. LINE INPUT can do that, but it seems to choke when there are too many lines in the source fil...
by Geminga
Sat Sep 25, 2010 9:28 am
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE
Replies: 9
Views: 15000

Sorry for the ambiguity. Is there a workaround for the LINE INPUT string space problem? Should the file be processed as BINARY? ---------------- Since that post, I tried cutting the file into 32000-line chunks (with SPLIT.EXE). Got 79 files, each 6,720,000 Bytes. Still too large:( Even the 3,617,044...
by Geminga
Fri Sep 24, 2010 4:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE
Replies: 9
Views: 15000

OUT OF STRING SPACE

Hi All! New to QBasic. Running the QB included w/ W98|| on a W98|| system. The quest: Process fixed-width astronomical database files so that they load in Aladin. I feel no attachment to QB, it just seems like a language I can handle. With a little help from other topics in this forum, I produced a ...