Subject Re: [IBO] TIB_Script
Author peter@cyionics.com
Hi Jason

I can see how using the set statement I can use that in a parser to find my own script commands,
I can also see how using skip it I can put in any commands I want that are not valid SQL.

e.g.
prompt 'Run This Statement' ;

or
Set prompt 'Run This Statement' ;

Is there anything else I should be looking at ?, I have looked through the source.

When I have finished I will put my project up on the IBO site with a pdf paper as I think it may be useful to other people.

Rgds

Peter

----- Original Message -----
From: Jason Wharton
To: IBObjects@yahoogroups.com
Sent: Thursday, November 13, 2003 7:24 PM
Subject: Re: [IBO] TIB_Script


> i would use special comments inside the script:
>
> /* $SaySomething */
> Delete from ImportantTable;

What I had in mind for this is your own custom SET variables.
Peek in the sources and see what I did for handling them. Most of the work
here is done for you. I'm already handling various SET variables so you are
tapping into an existing feature rathern than introducing more of a drag in
performance adding in yet another.

Jason Wharton


Yahoo! Groups Sponsor
ADVERTISEMENT




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]