const section
Posted: Thu Feb 19, 2004 4:57 pm
Hello,
I try to replace a strings in const section as result tsiLang add source code
at TMainForm.UpdateStrings procedure.
for example
const_noMoreInputdoc := siLang1.GetTextOrDefault('strconst_noMoreInputdoc');
const__DocSave := siLang1.GetTextOrDefault('strconst__DocSave');
But when i try to compile the project the delphi wrote
can not assign value to const parameter (and delphi compiler right)
What should i fix ? should i remove variable from the const section ??
thank you
Asi
I try to replace a strings in const section as result tsiLang add source code
at TMainForm.UpdateStrings procedure.
for example
const_noMoreInputdoc := siLang1.GetTextOrDefault('strconst_noMoreInputdoc');
const__DocSave := siLang1.GetTextOrDefault('strconst__DocSave');
But when i try to compile the project the delphi wrote
can not assign value to const parameter (and delphi compiler right)
What should i fix ? should i remove variable from the const section ??

thank you
Asi