open "filename.txt" for input as #a text$ = input$(#a, lof(#a)) close #a print text$ This will put the entire contents of the file into text$ John "Psycho"...
40961
laurie camion
lauriecam2006
Jun 16, 2010 9:12 pm
Thanks. It's true, I will have to parse it into an array eventually, and then transpose it into another array, and I'm not scared of that code, so please...
40960
rod_bird001
Jun 16, 2010 9:08 pm
Stick with simple. Filling your array is useful. You can load a single variable with the contents of the file more quickly but then you have to parse it,...
40958
laurie camion
lauriecam2006
Jun 16, 2010 8:16 pm
What is the fastest way to read a file into memory? I need to open and read a delimited data file that is updated by another application. To minimize...
40957
laurie camion
lauriecam2006
Jun 10, 2010 2:51 am
Thank you! ... From: Stefan Pendl <pendl2megabit@...> Subject: RE: [libertybasic] FTP - ftp4w32.dll To: libertybasic@yahoogroups.com Date: Wednesday, June...
40956
Stefan Pendl
pendl2megabit
Jun 9, 2010 10:21 pm
... There are some wrapper functions available at http://libertybasic.conforums.com/index.cgi?board=internet&action=display&num=1250995815, which make it easy...
40955
laurie camion
lauriecam2006
Jun 9, 2010 8:23 pm
Is ftp4w32.dll still the state of the art for ftp functionality in LB or are there other/better solutions? I'm only interesting in having LB automagically...
40954
laurie camion
lauriecam2006
Jun 7, 2010 5:03 pm
Oh, that's great news, thanks. Â Ideally I need to write lines that are about 40K (data to feed a web charting routine) and I was thinking that wouldn't be...
40953
rod_bird001
Jun 7, 2010 4:06 pm
You can fill your entire disc if you are writing to a file. If you are holding the whole line in memory then the 70mb memory limit will kick in. Still 70mb is...
40951
laurie camion
lauriecam2006
Jun 7, 2010 2:14 pm
What is the maximum length of line that I can write with LB to a text file (actually a .csv)? I'm using 4.04 on W7/32 if that makes a difference. ...
40950
laurie camion
lauriecam2006
Jun 7, 2010 1:34 am
Nice, thanks :) ... From: Lorne Russell <lorneokb@...> Subject: Re: [libertybasic] Unix Timestamp To: libertybasic@yahoogroups.com Date: Sunday, June 6,...
Sorry to be lazy, but does anyone happen to already have code that generates the Unix timestamp (seconds since January 1st, 1970)?...
40946
Stefan Pendl
pendl2megabit
Jun 5, 2010 6:57 am
... There are no secret commands, they are all listed in the help file. If you need a solution for a graphics problem, then read the whole page of graphics...
40945
paradisejb
Jun 5, 2010 5:02 am
... Hey, Mike I hope my zeal didn't spoil things for you. Am I being added to Ragnar's list as punishment??? ... hehehe! I'm going to choose to consider it a...
40943
paradisejb
Jun 4, 2010 9:53 pm
... Mike, This is pretty cool! You can have as many paragraphs as you like. You can adjust the line spacing, spacing between words, first line indent (or...
40942
paradisejb
Jun 4, 2010 12:58 pm
... Check this out, Mike. It's still crude, but it works... '--code (watch for line wraps) 'code begins nomainwin WindowWidth = 500 WindowHeight = 400 ...
40941
paradisejb
Jun 4, 2010 5:48 am
... Mike, The 6 is 6 pixels of space between words just because it looked about right in my editor. I think if you don't use "stringwidth?", you'll have to use...
40939
paradisejb
Jun 3, 2010 1:38 pm
... I approached the problem differently, then read this and Stefan's following post. Maybe this will give you some ideas on how to do the text parser thingy....
40938
Stefan Pendl
pendl2megabit
Jun 3, 2010 1:23 pm
... In this case it is simpler to create a text parser, which will check each word and change the color accordingly. Coding all this by hand is quite...
40936
Marc Rossi
mrossi8888
Jun 3, 2010 11:13 am
Yes , Vista. I got it working. The folders were 'locked39; thanks, Marc :-) ... From: rod_bird001 <rodbird@...> Subject: [libertybasic] Re: fs_08.bas...
40935
rod_bird001
Jun 3, 2010 9:52 am
Download the .zip and unzip it as it comes keeping the folder structure intact. If you are using Vista RIGHT click on the bmp files and ensure that they have...
40934
Stefan Pendl
pendl2megabit
Jun 3, 2010 9:13 am
... The official link is http://nally.wikispaces.com/file/view/fs.zip How do you start the BAS file? If you open LB first and navigate to the BAS file, the...
40933
Stefan Pendl
pendl2megabit
Jun 3, 2010 9:04 am
... LB has the STRINGWIDTH? Graphics method, which is perfect for this task. BTW, the syntax for sending information to a handle is: Correct: PRINT #Handle,...
40932
Ingemar Bjerle
ingbje
Jun 3, 2010 9:02 am
This is one possibilty Ingbje nomainwin bk$="color black;" rd$="color red;" open "colored text" for graphics as #gr #gr, "trapclose [quit]" #gr, "place 20 30;...
40931
rod_bird001
Jun 3, 2010 8:59 am
Pick a fixed width font, this will make positioning easier. nomainwin bk$="color black ;" rd$="color red ;" open "colored text" for graphics as #gr #gr,...
40930
rod_bird001
Jun 3, 2010 8:57 am
Pick a fixed width font, this will make positioning easier. nomainwin bk$="color black ;" rd$="color red ;" open "colored text" for graphics as #gr #gr,...
Provide the link to the file, saves me guessing or dusting off the crystal ball:)...
40926
Marc
mrossi8888
Jun 2, 2010 12:20 pm
Good Morning, I downloaded the text - based flight simulator called fs_08.bas. I cannot get it to work it keeps saying, "bmp not found", and the error log says...