View previous topic :: View next topic
|
Author |
Message |
Vijay Subramaniyan
New User
Joined: 06 Jul 2011 Posts: 14 Location: india
|
|
|
|
Hi .
Can anyone tell me what will happen to this.
Evaluate TRUE
Condition 1 : Display 'hI'
Condition 2 : Display 'hello'
Other : Display 'Bye'
End-evaluate
What will happen if both the conditions are true. In 'C' the control will be going to the first met condition. If we do not code break statement the successive statements will be executed. Is it like that in Cobol too? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
The Fine Manual. Experimentation. Colleagues. Google.
Any of the above could allow you to answer your own question.
When you know one language and are using another think in terms of general logic (good to express in pseudo-code) rather than "if only I could do it using a construct in this other language". |
|
Back to top |
|
|
Dsingh29
Active User
Joined: 16 Dec 2008 Posts: 132 Location: IBM
|
|
Back to top |
|
|
|