Page 12 of 13
Posted: Sun Feb 05, 2006 7:14 pm
by Fred
Thanks a lot for it

.
Posted: Sun Feb 05, 2006 7:27 pm
by Tranquil
We have to thank you! So.... please users... donate, donate, donate!

Posted: Mon Feb 06, 2006 12:51 am
by Sebe
Yeah, after that stylish update they deserve every euro we can donate. Even if it's just 1 euro or 3,31 :roll:
Cool
Posted: Mon Feb 06, 2006 5:38 am
by koehler
Great, look forward to it. Happy to tip a 10, for it too.
Posted: Mon Feb 06, 2006 10:06 am
by RichardL
Some experiences with PB Release 4 Beta…
1. Installed new release into a new directory and tested a few trivial procedures just to make sure the installation was OK.
2. What next? It would be unwise to convert all my current work over to a new environment that will inevitably have some errors. I must run with 3.94 until the new version is out of Beta. I decided to take a medium size application and go through the process of converting it… this will give me an indication of the complexity and the pitfalls of the conversion process.
3. I chose an instrumentation package that involves DLLs, high speed graphics, some primitive sound functions and multiple screens, about 6400 lines of source. Working with a COPY of the original source I repeatedly compiled it and responded to each error message. I made some arrays global, included the File# into lots of places where the new compiler needs it and generally learned a lot about the new system.
4. I found three major problems and wrote three helpful bug reports. In the process of creating the essential mini-app that showed each problem and how to reproduce it the cause of each error was found, and was always an instance of not reading the documents supplied… More haste, less speed.
5. After about six hours of work the final version now runs with just one problem left… I get a rude message and an invitation to send a report to Microsoft when the program closes. I have seen this mentioned elsewhere so will be patient.
Summary:
No real difficulties upgrading. Be patient and careful. RTFM.
Common sense -- stay with 3.94 for a while for mission critical software.
Click the DONATE button, do NOT let it be lonely and un-loved.
RichardL
Posted: Mon Feb 06, 2006 12:16 pm
by geoff
geoff wrote:
Fred, I hope this is the last time we need such major changes.
I have spent 5 hours converting a PB3.94 program to PB4.0, and I still have 28 other programs to do.
Fred wrote:
Why converting all ?
the fool wrote:I too don't understand that..
Source code needs to be maintained.
Why?
1) Because applications sometimes needs to be changed.
2) Because it takes a long time to find every last bug, sometimes years.
If you don't convert code you have to keep a different version of the compiler for each of your programs. This is impractical and leads to compatibility problems between the programs which may share common procedures, for example. Old compiler versions are not supported so if you have compile problems you will get no help.
Am I missing something here?
I thought that porting source code to the latest compiler version was standard practice?
Posted: Mon Feb 06, 2006 12:23 pm
by IceSoft
@geoff,
Use search/replace ... you will see... it is faster next time !

Posted: Mon Feb 06, 2006 12:55 pm
by Fred
geoff: it all depends of your programs. If I have a program in v3.94 which works well and doesn't need anything else than bug fixes, i would let it in v3.94 and use it to do the few fixes. If you plan to enhance a lot your programs, then it makes sens.
Posted: Mon Feb 06, 2006 12:59 pm
by Berikco
geoff wrote:
Am I missing something here?
I thought that porting source code to the latest compiler version was standard practice?
Yes, it's definitly not standard to port all your code.
The Software company we work with maintains 3 versions of there administrative software, just because it works with Sybase on the server and Omnis7 or Omnis studio on the client side.
They can not affort to go updating all customers to always be on the newest database software an Omnis version....license is expensive also.
So there are 3 update packages when they have an update.
http://www.jurisoft.be/
They now have 5283 users

Posted: Mon Feb 06, 2006 1:08 pm
by geoff
Icesoft wrote:Use search/replace ... you will see... it is faster next time
I wish it was that easy Icesoft.
It's not just name changes.
For example, if you have a procedure that writes to the current open file you now have to pass the file # to this procedure so that the file# can be put in the new Read / Write commands.
Also the File System commands. I had to do a partial re-write of a re-entrant file listing procedure, because of this change.
But I am not complaining about this, the changes make sense.
All I am saying is, lets not change things too often.
---------------------------
To make things easier I have written a small program to create a highlighted text version of each of my source codes, where any commands that require attention are highlighted.
But it takes a time.
The (small) program I am currently working on has 353 highlighted commands, some of which are simple name changes but most aren't.
Posted: Mon Feb 06, 2006 1:12 pm
by Dare2
That aside, geoff, the new version is pretty neat, isn't it?
Posted: Mon Feb 06, 2006 1:15 pm
by geoff

Yes, no question, it's brilliant.
I have been holding my breath for doubles for longer than I can remember.
I'ts nice to breath again.
Posted: Mon Feb 06, 2006 1:20 pm
by Dare2

Snap.
Posted: Mon Feb 06, 2006 1:25 pm
by PB
> For example, if you have a procedure that writes to the current open
> file you now have to pass the file # to this procedure so that the file#
> can be put in the new Read / Write commands
Search: WriteStringN(
Replace: WriteStringN(0,
Very easy. Make it even faster by using an app like this...
http://www.rjlsoftware.com/software/utility/search/
...to do it to ALL your PureBasic sources in one big hit, and you're done.
Then just do a search for all "WriteStringN(0," in each app as required,
and check to make sure they're using the correct file number.

Posted: Mon Feb 06, 2006 1:40 pm
by IceSoft
@PB,
You are understand me.
