MSEIDE & MSEGUI Unofficial Documentation Main Docs | API Guide

Notes

The following macros are available in templates:
  %FILEPATH%
  %FILENAME%
  %FILENAMEBASE%
  %PROJECTNAME%
  %PROJECTDIR%
For a New Unit:
  %UNITNAME%
For a New Form:
  %UNITNAME%
  %FORMNAME%
  %ANCESTORUNIT%
  %ANCESTORCLASS%
For a New Program:
  %PROGRAMNAME%

How to Use

Enclose each macro as ${%MACRO%} inside your template file.

For an example, see your \apps\ide\templates\console\ directory.

Or see a simple examples below:

Example 1

(simple console app)
program ${%PROGRAMNAME%};
{$mode objfpc}{$h+}

begin

  readln;
end.

Example 2

(compact CGI application)
program ${%PROGRAMNAME%};
{$mode objfpc}{$h+}
uses
  pwuMain, CompactSysutils, CompactUtils, StrFilter, StrWrap1;
begin

end.


edit    lufdoc - Live User Fed Documentation