Re: Detecting the Eu version

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Subject: Re: Detecting the Eu version
> 
> 
> posted by: Derek Parnell <ddparnell at bigpond.com>
> 
> Jason Gade wrote:
> 
> [snip]
> 
>> Can we let this thread die now?  End users should get all proper files when a
>> program
>> is distributed to them.  Developers should read the docs and be aware of what
>> versions
>> they need.
> 
> I would like these questions answered ...
> a) Do I update win32lib to use '$'? I'd like to because it is so useful.

It is useful, but 2.5 as it stands now comes with a lot of problems when 
executing a program using large libraries, so that I, as quite a few others I 
think, didn't switch to 2.5 yet. After all, there's only one useful feature 
extra (for me - I'm not saying that crash_routine() is not an improvement, it 
is, but I have scant use for it) in 2.5, whch does not offest the drawbacks.

So I'd say: use $ and make up your mind about the problems this approach will 
generate.
Perhaps the point becomes moot with 2.5 beta, but my crystal ball is so misty...

> b) If so, do I keep two versions of the source? One for 2.4 and one for 2.5

Probably the best route to go.

> c) If I keep two versions, how can I keep them synchronized? Use a
> preprocessor?

Code using $, then run a preprocessor to get a 2.4-compatible separate file. 
This part in my idEu preprocessor works, I email it to you if you wish. 
Actually I'll have to mod the code a bit, as it first converts $ to -1 and 
then converts negative indexes to regular ones, but that must not be too hard.

> d) If I don't keep two versions, how can I support people who will not upgrade
> to 2.5?

You wouldn't be able to.

> e) Should I wash my hands of the whole lot and just make it somebody else's
> problem?

If it's too bothersome to downgrade $ to length(<previous sequence>), somebody 
else can do it. And well... that's your own decision really.

Just my thoughts.

CChris
> 
> -- 
> Derek Parnell
> Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu