|
-
May 25th, 2004, 11:33 PM
#1
Thread Starter
Hyperactive Member
~Writing to a file... I'm lost for some reason~
-
May 25th, 2004, 11:44 PM
#2
So Unbanned
LOL!
Interesting code, but overkill.
Here's a better way...
VB Code:
Dim bytAry() as Byte
ReDim bytAry(how_big_you_need it)
'do your loop on the bytary indices, this should be faster anyway
Open "\LOGFILE.LOG" For Binary As #1 '*cough* freefile -.-
Put #1, ,bytAry()
Close #1
-
May 25th, 2004, 11:58 PM
#3
The picture isn't missing
To answer the original question, put a semicolon at the end of the line:
print #1,"Hello"; '<-- no linebreak
print #1," World" '<--- puts a line break at the end.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
May 26th, 2004, 02:26 AM
#4
KING BODWAD XXI
or just
write #1, strdata
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|