Search found 722 matches

by stevepoole
Fri Nov 28, 2014 6:20 am
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Oops, I forgot I had lightning on microdrives. I LRESPRed LNG_MATH_EXT, and wrote a code timing routine full of trigonometry functions. Result, with _ lngprec set to 0 or 1, 2 or 4, no difference in speed on QPC with a 15 second run. So no way of accelerating here I'm afraid.... Pity _lngprec doesn'...
by stevepoole
Fri Nov 28, 2014 2:25 am
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Does anyone still use the LIGHTNING MATHS EXTENSIONS? These could be useful in this current TSP project. I have them on a dud microdrive. ARE they still available anywhere?
Steve.
by stevepoole
Thu Nov 27, 2014 9:31 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Thanks Tobias, I will download these as soon as I get enough spare time to get into them. For the moment, SBasic is the language i will be using to develop the TSP. Then, when all is ready I will start transcoding. Thanks again everybody. My return to the QLForum has indeed been very rewarding. Steve.
by stevepoole
Thu Nov 27, 2014 9:07 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Thanks everyone. Now I am beginning to see where I am going.
Where can I buy CPort, LibCport & c68 please?
Steve.
by stevepoole
Wed Nov 26, 2014 9:32 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Hi Rich, Yes I would like to aquire Superbasic C-Port and give it a try. It should make a reasonable stepping-stone for transcoding to C++. If anyone has used it , I would like to hear their opinion on it. This is what the SBasic 'Travelling Salesman Program' has to compete with : Type this into you...
by stevepoole
Wed Nov 26, 2014 1:46 pm
Forum: General QL Chat
Topic: Inactive members
Replies: 12
Views: 6907

Re: Inactive members

Hi All,
If you get your password wrong, you can use another, but not using the same email address. This locked me out for a couple of years. Now I have a second email account I am back on line.
Perhaps others have also had this problem?
Steve.
by stevepoole
Tue Nov 25, 2014 8:31 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

After years of doing without, I managed to get my program TURBO'd and it does indeed run several times faster.
As for SuperBasic C-Port, where can you get this from?
Steve.
by stevepoole
Mon Nov 24, 2014 11:25 pm
Forum: Software & Programming
Topic: Printing SuperBASIC programs
Replies: 13
Views: 9086

Re: Printing SuperBASIC programs

Hi Rich,
I just tried your short code fragment, both as a program, and as direct commands. The result was a printer lockup. Yet 'par' works OK in my little program...wierd!
Looks like LIST#3 fails on QPC, or is it SMSQ/E?
Steve.
by stevepoole
Mon Nov 24, 2014 11:00 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

So C68 progams are some 10 times faster than uncompiled SBasic. Ok that means the Travelling Salesman Program could run as fast as the current KLT algorythm running on a Mac under C++. This bodes well for the SBasic progam, which is as yet far from fully optimised. Is C68 a cross-compiler, or do you...
by stevepoole
Mon Nov 24, 2014 6:00 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52674

Re: SBASIC & C++

Thanks Tobias. I am not thinking about quitting QPC, just porting a Travelling Salesman program to C++, that is, if it will run faster, for non-QL users. At present, that would be useful if I can get an acceleration of around 9 times, which would make it a very fast program by any standards. I timed...