Include instead of Exclude

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
TariqChanggez
Posts: 7
Joined: Sun Sep 18, 2005 3:32 pm

Include instead of Exclude

Post by TariqChanggez »

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 ?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

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.
Best regards,
Igor Siticov.
Post Reply