|
-
Jun 16th, 2000, 12:20 PM
#1
Thread Starter
New Member
how do u save to a file without the enter key being pressed at the end. It adds i more line than nedded to the text file and the computer is having problems because i'm using the textbox to load file by that name and the computer can't find a nothing file name.
-
Jun 16th, 2000, 07:45 PM
#2
_______
filebox
use a (filebox) not a textbox to list your files...under components, select it, add it and use it..
not sure exactly what your are after..why do you even
have to hit enter to save a file unless it defaults to
some click event.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 8th, 2002, 10:31 PM
#3
Member
Hi,
I know exactly what your talking about. You need to append a ; to the end of your variable in your print statement
stringData="sfasdfasdfasdfasdfasdf"
open "C:\TEXT.TXT" for output as #1
print #1,stringData;
close #1
appending the ; will stop the unwanted carriage return
-
Aug 8th, 2002, 10:56 PM
#4
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
|