init
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
//***************************************************************************//
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user