AMT Help Files

Code Templates

In the code editor you can use templates to make writing your code faster and easier.

Templates can be created and maintained in the Global Options section by a AMT Developer Studio Administrator. Default templates are provided in AMT Developer Studion, i.e. ‘rou’, ‘if’ and ‘for’. Templates in the Global Options are available to all Developers.

To add or edit code templates, choose "Edit - Options - Global Options".


To use a code template, type the name of that template (e.g. "rou" to add the complete routine skeleton) and press "CTRL+ENTER".

routine process_main
begin_routine

end_routine

rou

Next, the template code will be inserted at the current cursor position.

routine process_main
begin_routine

end_routine

routine 
const
var
begin_routine

end_routine