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 

Include instead of Exclude

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



Joined: 18 Sep 2005
Posts: 7

PostPosted: Sun Sep 25, 2005 10:26 am    Post subject: Include instead of Exclude Reply with quote

I wish there is a way to tell siLang Expert to INCLUDE only certain items such as ShowMessage and MessageDlg ... etc. For example in my typical scenario I need around seven to ten rows from every form that contain messages to be displayed to users. Instead, I have to confront around 150 rows and the have to carefully delete unwanted rows.

I tried to use the EXCLUDE feature but still a large number of strings are returned by the Expert which I don't know how to stop.

Any wise-idea ?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Sun Sep 25, 2005 12:00 pm    Post subject: Reply with quote

You can use in your code the tags:
{TSI: IGNORE LINE} - ignores the line where there tag persists;
{TSI: IGNORE ON} - ignores all lines after this one
{TSI: IGNORE OFF} - stops ignoring lines
{TSI: TRANSLATE NEXT} - translates the next line while inside ON/OFF tags

to manage exclusion of source code from scanning.

Hope this helps.
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