Did you know isCOBOL IDE allows you to easily understand how to invoke a method in a Java Class?

Question ID : 256
Created on 2016-02-01 at 2:42 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=256



IsCOBOL supports OO (Object Oriented syntax) that allows you to invoke a Method in a Java Class. To have additional help on writing the cobol code, isCOBOL IDE helps with its integrated isCOBOL Editor.
For example, to know the operating system where Java is running, we can invoke the “getProperty” method in “java.lang.System” class passing “os.name” as parameter.

              set buffer = Sys:>getProperty("os.name")

In the isCOBOL IDE, after writing “Sys:>” the list of available methods shows up and by choosing a method in the list, the JavaDoc explains what that method does (see the screen shot below).



Back to Original Question