Re: Convert program from version 3.1 to version 4.x

new topic     » goto parent     » topic index » view thread      » older message » newer message
cp said...

I would like to "bite the bullet" and convert a version 3.1 program to version 4.x including translating and compiling. Is there any documentation or best practice on how to go about this?

-casey

I would start with converting all your include statements to include std/whatever.e, so that you can use the new standard libray. You may have to add a few includes, because there are so many routines that they have been split into quite a few more files than the old includes. Do a search/replace for any routines that may be slightly different in the new standard library. (Try running the program to see which routines aren't declared or have an error.) You will probably have to look at the manual for each one that gives you a problem.

You may find that the standard library can do things they you probably had to write your own libraries to do in eu3.1, so you may end up leaving some things (if it isn't broke, don't fix it.) But, after you get it running, you may want to replace all global declarations with export or public and gradually convert things to the newer way of doing things, which may actually streamline your code a bit.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu