I have a .exp or .txt file, which has some program (consists of variable declaration, initialisations and some part of code).

I need only Logic for specifc keyword. like.....

type case.1
if (condition) then (keyword_statement) endif

type case.2
variable_1 = arithmetic expression
if (condtn.1 AND/OR condtn.2) then (keyword_statement) endif


Requirement:
1. provide useform to user.
2. Get file from Hard disk drive
3. Extract the contents
4. Display the txt file showing
- Keyword_statement followed by respective logic in words.

regds/ Rupesh