[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Fortran Interacter to Winteractor.

Posted on 2004-11-16
4
Medium Priority
?
378 Views
Last Modified: 2008-01-09
Does anyone have any ideas how I could convert fortran interacter code to winteracter code? Is it too difficult? Is there a special software for this out there or I simply have to change few lines in my code?

Thank you.
0
Comment
Question by:Aiysha
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12595533
Any INTERACTER graphics code can be used virtually without modification. The only change likely to be required is the introduction of a "USE WINTERACTER" statement at the start of each program unit which calls our graphics routines. Similarly code which calls routines in our OS (operating system), CH (character handling) and MM (max/min) subroutine groups can also be reused.
Code which uses INTERACTER's Forms Manager will require some modification, notably the conversion of forms to Windows dialogs.
However, we provide a tool (IFD2DLG) which will do this automatically. Many of INTERACTER's Forms Manager routines have direct equivalents in Winteracter too, notably the field assignment/retrieval routines. The function of the INTERACTER form designer INTFORM is replaced by DialogEd, the visual dialog editor.
Text screen output via the INTERACTER window manager is replaced by a set of similarly structured routines in the WM (Window Management), TX (Text Output), CL (Area Clearing) and FS (Font Selection) subroutine groups.
Input handling probably requires the most code redesign. Winteracter programs operate around a message delivery routine, normally located inside a DO WHILE loop. All keyboard, mouse, menu and dialog events are reported through this mechanism. The number of possible message types which must be processed in Winteracter programs is vastly reduced compared to a 'raw' Windows API program, however.
Menus are handled somewhat differently to INTERACTER and are designed externally using the MenuEd visual editor. As noted earlier, menu selections are returned via the message reporting mechanism
0
 

Author Comment

by:Aiysha
ID: 12596976
Thank you Mikal613

"we provide a tool (IFD2DLG) which will do this automatically" where can I get this tool?
The "USE WINTERACTER" line should be in quotes or outof the quotes?
I am getting lots of error even if I add the use line.. may be I will have to do lots of editing in the code..

0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 2000 total points
ID: 12597017
0
 

Author Comment

by:Aiysha
ID: 12645011
Thank you for all the sugestions. I guess there is no easy way out for converting the winteractive to interactive. But the links and information did help me understand the process.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question