New Routine
The third option in the code wizard is the add a routine. This option will setup the framework of a routine for the developer.
Step 1 | Set the cursor at the place in your code where you want to insert the new code lines. |
Step 2 | Start the code wizard. This can be done by clicking the right mouse button and choosing "Code Wizard" from the popup menu, or by using the shortcut "Ctrl+W". |
Step 3 | Choose "Routine" |
Step 4 | Choose a name for the new routine and click "Finish".
|
Step 5 | A setup for a new routine is now added to the program code. This setup includes constants and variables, but these can be removed if required.
routine rou_insert_record
const var begin_routine end_routine |