You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
I haven't upgraded since 1995 and am currently running version 3.1. I have a reason to update a program written back then but would like to be able to run it in the IDE. According the 3.1's IDE I need 280k for this but have only 210 or so. Will version 3.5 allow me to run this program in its IDE?
There is almost no difference in the amount of RAM available to your apps in the IDE between 3.x and 3.5 (the IDE has had no significant changes in that time, only the language set has expanded).
However, if you use numeric or fixed-length string arrays, then PB3.5 may be able to help you: using PB3.5, it is possible to create arrays in EMS (we call them VIRTUAL arrays). Up to 16 or 32 Mb of arrays can be created (depending on how much EMS your operating system can provide).
There are some caveats to use virtual arrays... you cannot use ARRAY SORT, etc, but the addition of such a huge amount of memory (which obviously frees a large chunk of conventional memory) will usually out-weigh the disadvantages.
That said, PB3.5 adds many other new and handy features that 3.1 does not have, so you may find the upgrade is worth-while in other areas too.
On the other hand, you could try using MEMMAKER to optimize your existing set-up to give more memory to PB.EXE, and also try launching PB with the LOADHIGH command, ie, LOADHIGH PB.EXE
There is always the command-line debugger (PBD.EXE) too.
Hmm...
I thought memmaker went out with windows 3.1, I'm using '98. I may be in for a long slow tooth can.. er rewrite. The original program was written in Turbo Basic 1.0 and upgraded as time went on using the TB database toolkit, the PB fixes to that toolkit and the Full Power Toolbox. None of which seem to work in the PB/CC I bought for this project the other day. Oh well.
Originally posted by Lance Edmonds: There is almost no difference in the amount of RAM available to your apps in the IDE between 3.x and 3.5 (the IDE has had no significant changes in that time, only the language set has expanded).
However, if you use numeric or fixed-length string arrays, then PB3.5 may be able to help you: using PB3.5, it is possible to create arrays in EMS (we call them VIRTUAL arrays). Up to 16 or 32 Mb of arrays can be created (depending on how much EMS your operating system can provide).
There are some caveats to use virtual arrays... you cannot use ARRAY SORT, etc, but the addition of such a huge amount of memory (which obviously frees a large chunk of conventional memory) will usually out-weigh the disadvantages.
That said, PB3.5 adds many other new and handy features that 3.1 does not have, so you may find the upgrade is worth-while in other areas too.
On the other hand, you could try using MEMMAKER to optimize your existing set-up to give more memory to PB.EXE, and also try launching PB with the LOADHIGH command, ie, LOADHIGH PB.EXE
There is always the command-line debugger (PBD.EXE) too.
Unknown to most people you can prevent execution of win9x simply by placeing empty file on C:\ called win.bat. If I don't need windows to boot for some diagnostic stuff then I simply use the following command.
Echo >win.bat
And I use the command on the root of drive C:\. After using Memaker and stuff just dellete the file and presto your up up and away. No need to use the Attrib -h -s -r command on the msdos.sys and then edit the file and all that suff.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment