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
Converting QB45 to QB64
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
Re: Converting QB45 to QB64
DIM SHARED the array instead of passing it as a parameter.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0