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 

Problem with option "Evaluate Boolean Expressions Compl

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



Joined: 06 Aug 2003
Posts: 4

PostPosted: Mon Aug 11, 2003 7:50 am    Post subject: Problem with option "Evaluate Boolean Expressions Compl Reply with quote

As soon as i enable the Delphi 6.0 compiler option "Evaluate Boolean Expressions Completely" (Note: I do not know, what it is exactly in English, since i use a German Delphi) my programs exhibit runtime exceptions saying "EStringListError, list index exceedes maximum(50)" and after that " EReadError, error reading SiLang1.Translationdata, list index exceeds maximum(50)" quite at the start.

Again, the exact English text can be different because i get the messages in German. Is the TsiLang component suite incompatible with this compiler option or what else do i make possibly wrong?

If this option is not checked, everything works as expected!

Best regards
Ullibang
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Aug 11, 2003 8:02 am    Post subject: Reply with quote

In case you have registered sources version I would recommend you to open SI.INC file and add the following lines at the end:
Code:
{$J+}
{$R-}
{$B-}


and rebuild your project.
Back to top
View user's profile Send private message
ullibang



Joined: 06 Aug 2003
Posts: 4

PostPosted: Mon Aug 11, 2003 8:53 am    Post subject: Reply with quote

isiticov wrote:
In case you have registered sources version I would recommend you to open SI.INC file and add the following lines at the end:
Code:
{$J+}
{$R-}
{$B-}


and rebuild your project.


Your support in this forum is excellent !

This cured the problem. However, i am a little curious about the question whether TsiLang really needs R- and B-, so it is a minor bug not to have in the SI.INC ?

Best regards
Ullibang
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Aug 11, 2003 9:45 am    Post subject: Reply with quote

Yes, TsiLang really needs such conditions and we will fix this minor bug in next version by inserting necessary compiler switches directly to source in order to prevent such situations as yours.
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