hi all,
i *need* to write a language interpreter which should always start with a
command
like
USE x_database;
without executing the above i can't write SELECT  command

similar way i *need* to execute the command language.

if i run USE command i can remember(store ) the database name and i
can run other commands(SELECT,INSERT UPDATE) well but if don't run the
USE command and if i try to run other commands  that should give some
warning.
How can i do it.
any *help*...

I want to print simply like 'database is not selected'

plz *help* me...
Thanks,
Kiso

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to