Inline and external routines
FactoryTalk Design Studio creates routines as external by default. You can specify routines as inline, external within the same file, or external in another file.
To define an add-on instruction as a single file, you must specify the routines as inline.
Use this structure to declare an inline routine:
Routine [name] ( <parameters> ) { <content> }
Use this structure to declare an external routine:
Forward declare: |
|
Implementation: |
|
Provide Feedback