Translating PASCAL to C/C++ ??

Hi Everyone,

I have a large Turbo PASCAL program. I am going to rewrite/retread it for Arduino. I would like to get a first-pass of procedures that seem to be reuseable easily translated to C or almost-C

I googled for this and got a bunch of those Freeware sites that try to install malware etc etc. Wow.

Anyone done this? Have an actual WIN program that does it???

Thanks!

terryking228:
Hi Everyone,

I have a large Turbo PASCAL program. I am going to rewrite/retread it for Arduino. I would like to get a first-pass of procedures that seem to be reuseable easily translated to C or almost-C

I googled for this and got a bunch of those Freeware sites that try to install malware etc etc. Wow.

Anyone done this? Have an actual WIN program that does it???

Thanks!

Well I certainly wrote many turbo pascal programs back in the day on CP/M systems mostly. But memory fails at all the differences that porting to C would involve. I do think the most numerous changes would be converting the many begin to { and end to }.

Lefty

retrolefty:
I do think the most numerous changes would be converting the many begin to { and end to }.

Lefty

You can do this with macro's.
#define begin {
#define end }