Hi all,
Well I have been asked to look after all WebFocus reporting for my division and following a few days training from the last developer I am now trying to code!
Firstly, I haven't been shown how to use any of the design aids or utilities and have only been shown how to edit and chop up the program.fex and the htm screens. Is this a bad start?!
What I could really do with getting to grips with is the If statements. All of the examples I see in our code are of the style :
-IF confition1 EQ '123' THEN GOTO abc;
'Customer_Code' as 'Customer'
-abc
There are goto statements everywhere and it is a complete mess! Is this the only way to code a conditional if statement? Must I use goto's?
There are no If, Then, Else statements and no Ends!
My programming experience is RPG400 and a bit VB.
Many thanks
Mark
Well I have been asked to look after all WebFocus reporting for my division and following a few days training from the last developer I am now trying to code!
Firstly, I haven't been shown how to use any of the design aids or utilities and have only been shown how to edit and chop up the program.fex and the htm screens. Is this a bad start?!
What I could really do with getting to grips with is the If statements. All of the examples I see in our code are of the style :
-IF confition1 EQ '123' THEN GOTO abc;
'Customer_Code' as 'Customer'
-abc
There are goto statements everywhere and it is a complete mess! Is this the only way to code a conditional if statement? Must I use goto's?
There are no If, Then, Else statements and no Ends!
My programming experience is RPG400 and a bit VB.
Many thanks
Mark