kreta/Tools/CodeGeneration/Templates/Server/Run/MetaModelTXTMain.tdl
2024-03-13 00:33:46 +01:00

42 lines
1.6 KiB
Text

//***************************************************************************//
// A MetaModel dolgai //
//***************************************************************************//
USES Server/MetaModel/MetaModelGenerator;
USES Server/MetaModel/BaseClasses;
//***************************************************************************//
// Egyéb segéd dolgok //
//***************************************************************************//
USES Common/std;
USES Common/Converters;
USES Common/ModelDataRetreive;
USES Common/CommonUtil;
USES Common/StringUtil;
USES Common/ActionUtil;
//***************************************************************************//
// Belépési pont //
//***************************************************************************//
proc main()
// initialize the output and other context information
Init();
setOutput( [OutputDir] "/" "DictionaryItems.txt" );
// Ide nem rakom be a BOM-ot, mert elrontja a generálást
// out = [BOM];
out = DictionaryItemList();
end proc
//***************************************************************************//
// Általános inicializálás //
//***************************************************************************//
proc Init()
//current language
setLanguage("SQL");
mkdir([OutputDir]);
// UTF-8 BOM bájtok
setVar("BOM", "\xEF\xBB\xBF");
end proc