Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kosta

Pages: [1]
1
QB64 Discussion / Re: Maximum Array Size
« on: August 05, 2019, 06:16:00 pm »
Awesome. Now if we could only speed it up a bit.  Thanks pal!

Kosta

2
QB64 Discussion / Maximum Array Size
« on: August 05, 2019, 05:36:35 pm »
Hi Guys. Can you tell me if on QB64 we are still limited to 2g array size? Does the 64 bit compiler make a difference so I can have arrays holding more than 2gigs?

Kosta

3
QB64 Discussion / Re: QB64 Speed?
« on: August 02, 2019, 07:45:59 pm »
That takes 30 seconds to complete on my laptop with QB64, and 3 seconds with power basic console compiler (32 bit.)

4
QB64 Discussion / Re: QB64 Speed?
« on: August 02, 2019, 07:45:03 pm »

DIM I AS LONG
DIM A AS LONG

PRINT TIME$
FOR I = 1 TO 1000000

    FOR A = 1 TO 3000

    NEXT
NEXT
PRINT TIME$
INPUT G$

5
QB64 Discussion / Re: QB64 Speed?
« on: August 02, 2019, 07:21:54 pm »
But if it's compiling as 64 bit in the end, and C++ 64 bit compiled code is really fast, why is the compiled QB64 emitted code 10x slower than 32 bit power basic code? Long integers are fast. Just having QB64 increment an integer takes 30 seconds to do what 3 seconds does in 15 year-old 32 bit power basic.

Something has to be wrong here. A compiled 64bit C++ function is not going to take 10x longer to run than power basic's 32bit compiler. No way no how.  There has to be some settings in the compiler that have default settings of some form or another that are affecting the performance.  I don't code in C++, so I'm not familiar with those compilers, which is why I was looking at QB64 to let me code in basic but get a 64 bit compiled .EXE that should run like it was coded in C++. But this is definitely not even close.  There must be something wrong here!!! I don't want to lose faith! Help!

6
QB64 Discussion / Re: CURRENCY data type
« on: August 02, 2019, 06:56:54 pm »
Thanks. I'll try doing it that way and see how it goes...

Kosta

7
QB64 Discussion / Re: CURRENCY data type
« on: August 02, 2019, 06:50:19 pm »
Oh now I see where it is... Way, way over there.  I should have noticed that.  But too bad about the data type? The CURRENCY data type is supported in Power Basic and quick basic's last iteration, QBX.EXE (Professional Development System 7.1., circa Q3 1990). It's an 8 byte data type with four decimal points typically used for financial calculations. I've been using it for 30 years. Surprised it's not supported in QB64.

But thanks pointing out where that help link is.

Kosta

8
QB64 Discussion / QB64 Speed?
« on: August 02, 2019, 06:17:42 pm »
Hi again guys. Please give me hope.  I was really hoping to see my 16 bit QBX code and 32 bit Power Basic code run faster compiled with a 64 bit compiler, but what I'm finding on a simple integer FOR NEXT LOOP that QB64 takes literally 10 times longer to complete the loop than on 32 bit Power Basic console compiler.

Is it that I'm not compiling correctly for 64 bit? I'm just selecting the make EXE only option in the IDE. Please tell me there's a magic 64 bit wand somewhere that I'm not waving correctly?

Kosta

9
QB64 Discussion / CURRENCY data type
« on: August 02, 2019, 05:50:51 pm »
Hi guys.  I just downloaded QB64 for the first time and tried to compile some of my old PDS 7.1 (QBX) code, but I got a couple of errors.  Didn't find a help file in the menu on the IDE either.

Apparently, QB64 does not support the @CURRENCY data type?  This was an 8 byte scaled integer in QBX.  My DIM statement produces the error "Unknown type."

What is the QB64 equivalent?  And, is there a help file?

Thanks, and forgive my ignorance, as I've only had this for 10 minutes!

Kosta

Pages: [1]