SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

const section

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
b_asi



Joined: 19 Feb 2004
Posts: 4

PostPosted: Thu Feb 19, 2004 4:57 pm    Post subject: const section Reply with quote

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 ?? Crying or Very sad


thank you
Asi
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Feb 19, 2004 8:18 pm    Post subject: Reply with quote

Yes, either changed CONST to VAR or add {$J+} at the top of your unit.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group