Most user-defined methods

BladeSmith generates only minimal code for most methods you create with the Routine wizard.

The generated code

BladeSmith only generates templates for most user-defined methods.

The generated method declares the routine, its return type, and arguments.

Complete the code

To complete the code for most user-defined methods, you must:
  • Add your declarations, if necessary.
  • Remove the call to Log(), which raises an error stating that the method is not implemented.
  • Compute the return value and store it in the Gen_RetVal argument.

For more information about programming routines, see HCL® J/Foundation Developer's Guide.

Example

The example JavaCircle DataBlade® module has user-defined methods.