Search found 2 matches

by Queth
Sun Jan 30, 2005 11:31 pm
Forum: QBasic / QuickBasic related
Topic: Need to get this done quickly for a relative
Replies: 4
Views: 1716

Guess who the guest was.

Anyway - I've cracked it. :-D For those who may be interested, I'll post the code here. (although I'm sure this is very simple).


INPUT "FILE TO BE DE-SPACED..."; F$
OPEN F$ FOR INPUT AS 1
LINE INPUT #1, A$
CLOSE #1
DIM W$(LEN(A$))
PRINT "file size: "; LEN(A ...
by Queth
Sun Jan 30, 2005 2:38 am
Forum: QBasic / QuickBasic related
Topic: Need to get this done quickly for a relative
Replies: 4
Views: 1716

Need to get this done quickly for a relative

Hi,

I have this problem - well actually a relative has this problem. They have lost some text from a file, and I found it in a tempory file. The trouble is, there is heaps of text, and there are extra spaces (hard to explain) -

eg: T h i s i s t(1 space)h(1 space)e(2 spaces)t(1 space)e x t .

So ...