Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does FOR_C handle “spaghetti” code with lots of GOTOs?

code for_c gotos lots spaghetti
0
Posted

How does FOR_C handle “spaghetti” code with lots of GOTOs?

0

FOR_C will eliminate the label on an unreferenced do loop, but any other jumps to associated labels will be translated to comparable goto’s in C. The bottom line is that spaghetti FORTRAN will, unfortunately, result in spaghetti C – not a very natural result. As a solution, we offer FOR_STRUCT – a product which will restructure your spaghetti FORTRAN and produce clean, maintainable code. This is a MUST for reusing and upgrading your old FORTRAN, either before translating it to C, or simply to make it more maintainable. FOR_STRUCT pays for itself with only a few thousand lines of code being restructured!

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123