Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bellcore!rutgers!cmcl2!adm!news From: jpg@worf.ssw.com (John Patrick Galvin) Newsgroups: comp.unix.questions Subject: Re: how do I declare a constant as a variable of a different type Message-ID: <27015@adm.brl.mil> Date: 24 May 91 22:10:50 GMT Sender: news@adm.brl.mil Lines: 18 In article <16452@helios.TAMU.EDU> Sharma Anupindi writes: >Now I want to declare the string I have read from the file as a different >variable. You cannot do this with a compiled language. Only interpreted languages can support 'ad-hoc' data typing and declarations. I suggest you redesign your logic or go back to using LISP. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | John P. Galvin | Internet: jpg@worf.ssw.com | | Soft-Switch, Inc. | X.400: CN: US | | 640 Lee Road | ADMD: ATTMAIL, Dialcom, MCI, Mark400 | | Wayne, PA 19087-5698 | Telemail, Western Union | | Voice: (215) 651-5342 | PRMD: Softswitch | | Fax: (215) 651-5358 | SURNAME: Galvin | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=