Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alberta.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!ihnp4!alberta!mohan From: mohan@alberta.UUCP (Mohan Palat) Newsgroups: net.lang.c Subject: A C-QUEL problem Message-ID: <202@alberta.UUCP> Date: Mon, 16-Apr-84 13:44:10 EST Article-I.D.: alberta.202 Posted: Mon Apr 16 13:44:10 1984 Date-Received: Tue, 17-Apr-84 07:25:05 EST Organization: U. of Alberta, Edmonton, AB Lines: 24 Subject: A C-QUEL problem Newsgroups: net.lang.c Could someone familiar with C-QUEL programs please answer the following question- Consider the following program - 1. main(argc,argv) 2. int argc; 3. char *argv[]; 4. { 5. ## char *reln; 6. ## char name[ dim1]; 7. ## ingres db 8. reln = argv[i]; 9. ## range of s is reln 10. ## retrieve ( name = s.name ) 11. ## exit 12. } I would like s.name in line 10 to be read as a command-line argument (argv) just as reln is read in line 9. It is not possible to use a C-Var pointer in place of s.name in line 10. Can this be done ??? Thanks in advance.