View previous topic :: View next topic
|
Author |
Message |
bhumika
New User
Joined: 05 Mar 2007 Posts: 1 Location: hyderabad
|
|
|
|
hi ,
i m new to natural as well as to this forum can any one tell me the diff. b\t the [b]structured mode and reporting mode in natural |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The main differences are:
- Structured mode requires a "DEFINE DATA" block (oltough you can use it in REPORT mode, too).
- Structure mode requires an ending statement for each statement, like END-READ, END-FIND, END-IF etc.
There are many other syntactical differences. Refer to Software-AG's fine manuals for full documentation.
By the way, there is a tool to automatically convert REPORT mode programs to STRUCTURE mode.
O. |
|
Back to top |
|
|
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Hello,
Could you please let us know how to convert a Reporting program to Structured mode using any tool?
10x |
|
Back to top |
|
|
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
In Structered mode all variables has to be defined in Define Data area. Where as in Reporting mode Variables can be defined any where in the program as and when needed.
Generally in reporting mode Database READ,FIND,HISTOGRAM statements are ended with LOOP stetement.
Some people call Reporting Mode programs with DEFINE DATA statement as MIXED mode program.
bhumika wrote: |
hi ,
i m new to natural as well as to this forum can any one tell me the diff. b\t the [b]structured mode and reporting mode in natural |
|
|
Back to top |
|
|
|