Page 1 of 1

Include instead of Exclude

Posted: Sun Sep 25, 2005 10:26 am
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 ?

Posted: Sun Sep 25, 2005 12:00 pm
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.