HomeCodeGenius StudioDownloadForumsFAQNewsBlogsAbout
CodeGenius Studio
CodeGenius Studio > Code Templates

Code Templates - Automatically Insert Code

CodeGenius StudioCode Templates are a piece of code you would regularly type. This could be anything.

Here are some examples:

IF SalesLine.FINDSET THEN
  REPEAT
    ... Your custom code ...
  UNTIL SalesLine.NEXT = 0;

CurrForm.UPDATE;

FILTERGROUP(0);

Basically any code could be considered a template. Base criteria is that you repeat some code regularly that may be slightly different. When it is different you would want to make a small change.

For example: you will not always write a FIND loop for the Sales Line table. You would want to be flexible in which table you want to loop through. CodeGenius Studio has the answer: Code Tags! You can define you own tags making CodeGenius Studio a very effective tool to help you insert repetitive code. When you hit a predefined hotkey the tags you have defined will require your input and after supplying the required info, CodeGenius Studio will insert the code for you.

It's that easy...

Copyright 2009 © Gerard Robbertsen. All Rights Reserved.
CodeGenius is in no way affiliated or associated with Microsoft Corporation.