• Welcome to the new TB forum!

The old Drupal site had served us well for 11 years, so it was time for an upgrade. Nothing goes as smoothly as we hope so please bear with us during the transition. We hope you like the new site and the new forum setup.

Note: your order history and file downloads are still available in our records so don't despair! If you need to re-download an old file or have any questions, just drop us a line: sales@truebasic.com or you can use the Contact form on the site.

Please let us know if you have any other questions or comments. Thank you!

admin stickied the discussion .

As of this morning (US EDT) the new site is only partially working due to the time it takes for the SSL certificate to transfer, so thanks for bearing with us... Again any questions can be sent to us here or at sales@truebasic.com. Thanks!

5 months later

Hi,
Will the old searchable posts ever be available again? There was an amazing amount of info there which accumulated over many years. I'm sure a lot of this would be of interest and help to some of the newcomers to the forum.

And has anything turned up regarding John Arscott? I do hope he is well. His posts and input was always a major feature because of his extensive knowledge and experience with True Basic. Especially now that a lot of the new queries concern v.6 which probably only he could answer.

Regards,
Mike C.

a year later

TrueBasic update didn`t install correctly. What can I do to fix it?

Downloaded the TB manual. Now what can I do with a 668 page text file?

Too big to read, too big to print.

Roger

13 days later

Hello rogerh

You're right - too long to read. I was lucky to receive a hard copy manual with Silver quite a few years ago, and even that was awkward to find stuff in because the index is poorly written.

I don't understand why in the world they keep trying to make TB "install-able". It didn't use to need "installing". All that was necessary was to copy all the files off the CD and just run them. The old TB Editor exe that came with V5 and earlier, and the TB System exe, could be put ANYWHERE and double-clicked to run. You can still do that with the v6.007; I put everything on a secondary drive, on thumb drives, or anywhere else. There seems to be some kind of problem with the "New" editor that gives people grief, but I have now tried that v6.007 version (on a Win 7) and it sorta works ok. But I just simply prefer using a free 3rd-party modern text editor, and just operate with the TB Sysyem.exe. TB v6 downloads with both the V5.3 and v.5.5 TB Ssysem. When you go to bind a program into an EXE, it offers you the choice as to which System version to use.

Now what this means is that the editor has nothing really to do with the binding (other than maybe have some exasperating error pop up), and basically you are binding with older TB System EXE's which are quite old by now, but do work. The main difference between the V5.3 and the V5.5 System is that the latter does not require that the famous dll's have to tag along with the bound EXE. The 5.3 System requires them. But the bad part is that there are a few bugs in the v5.5 which cause some program to not work right even though they work OK with the v5.3.

So what I do is:
Use a 3d party text editor to compose the code and save it (as .tru or .txt, or .anything for that matter)

Then run it with the "old" editor (which is now not apparently available unless you buy one of the "legacy" old editions of TB , e.g., Silver for $45, or Gold $145); which editor will invoke the v5.5 System.EXE to bind with.

OR: Run the [program using the TB System.EXE v.5.3, which is robust, which I have because procured years ago.

Then I try to run the program with the v5.5 System. If it runs OK, I'll bind it with that version to circumvent having to have the dll's ALWAYS present with the bound EXE.

If it can't be made to run with the 5.5 System due its quirks and bugs, then I have to bind it with the v5.3 and be saddled with transporting the dll's around everywhere with the EXE.

None of the above involves using the v6 editor. All you need is the TBlibs, and the System EXE's. If you get the legacy versions I think you get the v5.5 Sytem.

So, I don't know what might have happened to your "installation". But look to see if you can find the TBlibs and the 2 System.EXE's. If you have those, just copy them off somewhere save and follow the above procedure. It should work.

Now, as to reading through the enormous manual, you won't find anything about your intalling problem. It mostly just tells all about the various features and more or less how to work them, etc. The only nice part is that as a PDF file you can search for what you want. Still a bit tedious however.

If you are "new" to True Basic, and need some specific question answered about how to do some specificc coding thing, I could probably help. The other guys, like BigJohn Arscott and Dr. "rtarara", who used to frequent this forum in the past, would probably have had more answers to your current problem, but they have not been around lately.

Anyway, hope this helps a little.

Regards,
Mike C.

4 months later

Here's a problem for you;

I have a file of earthquakes in the following format;

2006-01-02,17,23,49,56.870,-12.475,166.508,16,6.1

several thousand in the file.

I can't get Truebasic to read it as comma delimited (CSV) and I think it's because of the
dashes in the first item.

Editing is out because the file is too big but I can't get Truebasic to change them.

Help!

Roger

  • mcc replied to this.

    Might you use strings to read the data and convert the strings later?

    I wouldn't know how to do that.

    I have a question of my own. I use TBSilver to create computer graphics and need to generate much larger plots. At the moment, my program generates about half a dozen plots of various functions defined over the intervals of a musical scale as their tuning varies. The program does this at 360,000 points and generates a roughly 6 x 6 inch square polychrome plot of each function. I have been exhibiting these plots at various art shows and galleries in the San Diego, CA area, but viewers would like something like 2 x 2 ft square graphics and merely blowing them up at a print shop generates rather unacceptably jaggy pictures, particularly when the plots have a lot of oblique lines separating colored zones. If I were to increase the size of the arrays to be printed from 600 x 600 points to something like 2400 x 2400 (and modify the program so it computes only 1 or 2 per run). would it work? I would ignore the picture on my computer screen and transmit the picture directly to the print shop as a BMP or PDF file. Is this idea feasible?

    I assume that you have a file called "rogerh.txt" which looks as follows:

    2006-01-02,17,23,49,56.870,-12.475,166.508,16,6.1

    You would need the String library so you might need the Silver edition (I use Gold 6.0 on Windows 11)

    LIBRARY "StrLib.trc"

    DIM item$(1 TO 9)

    OPEN #1: NAME "rogerh.txt"
    DO WHILE MORE #1
    LINE INPUT #1: line$
    PRINT line$
    CALL Explode(line$, item$(), ",")
    LET mydate$ = item$(1)
    LET number1 = VAL(item$(2))
    LET number2 = VAL(item$(3))
    LET number3 = VAL(item$(4))
    LET number4 = VAL(item$(5))
    LET number5 = VAL(item$(6))
    LET number6 = VAL(item$(7))
    LET number7 = VAL(item$(8))
    LET number8 = VAL(item$(9))
    PRINT mydate$, number1, number2, number3, number4, number5, number6, number7, number8
    LOOP

    CALL Tbexitroutine ! Wait for mouse click or key pressed
    END

    You can see that mydate$ contains the line's date and that number4 contains the 4th number, for example.

    6 days later

    rogerh
    Hello Rogerh

    I take it that you have a file "xxx.txt" consisting of "several thousand" LINES, each of the type:

    "2006-01-02,17,23,49,56.870,-12.475,166.508,16,6.1" with each such "line" ending in an end-of-line character, (CHR$(13)&CHR$(10))

    and that you wish to open this as an array with "thousands" of rows, each row having nine columns consisting of the 9 items that are delimited with "," as in the format you show.

    This essentially amounts to opening a comma-delimited csv file. There are several ways to do this. The STRING.LIB is not needed although it can be used, as "xbones" suggested in his recent response.

    This type problem has arisen previously a couple of times on the "old" forum, where I offered my solution to this sort of problem.

    I have a subroutine called: "SUB Load_CSV_2_Array(path$,filena$,d$(,))", which returns the array d$(nrows,ncols), and the delimiter of the specified file.

    It automatically determines the delimiter and the number of rows and columns. The delimiter can be ANYTHING OTHER THAN one of these characters:


    chr$(34)& "-=+*&^%$#@!{}[]:;'<>.?/~`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"


    Therefore it will not trip over the hyphens in your example.

    One just DIMS the array d$(0,0) in your calling program and then sends the path and filename in as argumentss. You can just tack the SUB onto your program as an external sub (i.e., after the END statement), then just call it and then process the returned array d$(,) as desired.

    I'll be glad to email it to you along with a small program demonstrating it if you wish. Posting programs on this forum is too clumsy because the formatting gets all messed up and makes things confusing.

    Regards, Mike C.

    4 months later

    Hi all;

    I'm back after a long health issue during which I forgot how to program. I just recently discovered that TB is not installed but simply copied onto the HD. Now I find it doesn't like Windows 10.

    What can I do without spending big bucks I don't have?

    Roger

    Hi Roger,

    Glad you're OK.

    All I have ever had to do was copy all the TB files, TBlibs, and exe's onto just about anywhere, and just run the exe.

    There never was actually any "install" involved, except now with this v6. I recently went ahead and got that, mainly to see what was going on with it since there have been so many posts about people having trouble with it.

    I see that now there are some extra exe's that didn't exist before: TBcompile,exe, TASKkill.exe, Printer.exe, and TBtutor.exe. The only ones before were just the TBsystem, TBsilver.exe (or TBgold.exe), which are all that's needed to run the thing. All you had to do was double click the TBSilver.exe or TBGold.exe and the thing would run from whatever folder it was in. These latter two exe's are the "old" TB editor. I keep all my TB stuff on a removable media in case the computer craps out. However, this new TB v.6.007 installed itself into "C:\Program Files (x86)\True BASIC GOLD v6" folder and it works OK from there. (I have Windows 7). The only thing it complains about is that it considers my "working directory" where I keep all my stuff "is invalid". I ignore that and just click the "open menu" and open my programs anyway. The TBEDITOR.EXE 22May13 file is the "new" v.6 editor.

    Now to see what would happen, I just now copied this whole TB folder off onto an external media and it works the same from there as well. So I don't seee what the "install" process actually does.

    As far as I can see, and based on much previous forum traffic (now missing), the "new" editor which comes with v6 has created the need for all these extra exe's. The new editor is nice and all, but it in my opinion still doesn't beat using a third party text editor and the old V.5 or earlier TB editor or the TB system.exe. I can't see why Win10 would have any problem running the TB exe's, unless whatever the "installation" process does gets into a hassle with Win10.

    Note that the the TBsystem.exe, dated 13May10, 761KB, included with the v.6, is the same as the TB v.5.5 Gold has; and the 531tbsystem.exe, 02Aug99 667KB is the old bug-free one that came with the V.5.31 versions. This latter one is the one which requires those tb510.dll, XNMBA-420.dll, and Xnbmba458.dll dll's in order to compile. In other words, to compile a program into an EXE, just double click either of these tbsystem.exe's , select your file, and click "compile". That's it. No need for any editor. You can compose and save your program in any text editor, and then run it with either of these tbsystem.exe's. This procedure should work on any Windows system. Try double clicking these and see if they don't respond as just described.

    If not, I would just copy all the TB files you have off to some other location (other than whereever the installation process "installed" it) and then just go double click the exe's and see if they run. If that doesn't work either, you could consider getting the "legacy" TB Silver 5.5 for $45 from the products page.

    I know this is confusing, but it's just the way it is. Anyway, hope this helps.

    Regards,
    Mike C.

    Thanks Mike;

    Just copying the cd into the hard disk was the answer. It was too long ago that I had done it to remember
    how to do it. I mean at my age, yesterday is dim enough; years ago is GONE!

    As far as I knew, EVERTHING has to be installed.

    Roger

    a year later

    Get professional assistance with your "Do My Assignment for Me" requests and CIPD assignment help in the UK. Our expert writers ensure top-quality, plagiarism-free work tailored to meet your requirements. Whether it’s coursework, essays, or CIPD tasks, we’ve got you covered. Say goodbye to stress and achieve academic success today!

    Powered by: FreeFlarum.
    (remove this footer)