Page 1 of 1

Converting QB45 to QB64

Posted: Tue Jul 25, 2017 2:21 pm
by ron1
Hello I have a huge program that works on QB45 but since it is 16 bit it will not work with windows 7 or 10 so I have looked at dosbox and came up with out of memory errors and could not get it to work with the chain calls it did not work the same as with the QB45 running it just QB45 is slow it recompiles each chain so it is a no go as well.

I then have been working to get it to work with QB64 finally after adding sub routines to the main program got it to a new error that I don't understand how to get past. Passing arrays with differing number of elements to SUB/FUNCTION is not supported (yet)

CALL comarraywrite(coupling(), ncoup%, 6, tag$)

coupling is a 2D array of ncoup% by 6 values

any suggestions will be appreciated

Thank you

Re: Converting QB45 to QB64

Posted: Tue Jul 25, 2017 7:21 pm
by burger2227
DIM SHARED the array instead of passing it as a parameter.