Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.121 SUBROUTINE

Note
titleNote:
Note: Usage options

The SUBROUTINE command is used to define the start of a subroutine and optionally nominate parameters which must be passed to it.

Portability Considerations

Subroutines that are nested inside one another are not supported in the current release of Visual LANSA. This is a very rarely used coding technique and thus unlikely to cause any problems. In the event of problems simply unnest the subroutine(s) involved and recompile.

...

EVTROUTINE

MTHROUTINE

PTYROUTINE


Panel
bgColor#ffffcc

                                                                                             Required

  SUBROUTINE --- NAME 

No Format
                                                        Required   SUBROUTINE --- NAME

---------

subroutine name

 subroutine name ---------------->

 -----------------------------------------------------------------

                                                         Optional              >-- PARMS

------

                                                                                            Optional

                     >-- PARMS ---------

field

name

--  *BOTH

------------|

                             |                 *RECEIVED  |                              |                 *RETURNED  |                              |                            |                               


                                                 |                          *RECEIVED    |
                                                 |                          *RETURNED  |
                                                 |                                               |
                                                 -----------

50

max

------------