home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mentor
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hpscit.sc.hp.com!news.dtc.hp.com!srgenprp!john
- From: john@sad.hp.com (John Ruf)
- Subject: Re: Help on circumflex operator in Ample
- Sender: news@srgenprp.sr.hp.com (placeholder for future)
- Message-ID: <C17yDM.EA2@srgenprp.sr.hp.com>
- Date: Thu, 21 Jan 1993 19:34:34 GMT
- Distribution: usa
- References: <1993Jan20.202145.20006@cbnewsm.cb.att.com>
- Organization: HP Sonoma County (SRSD/MWTD/MID)
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 9
-
- You do not need the "^" operator to accomplish what you want to do. The
- circumflex is used to evaluate a string, or in other words execute it as
- a command. So the problem you are having is that you are trying to make your
- string evaluate as if it were a command. You notice that $strcat has already
- take the value of dvever and stuck it on the end of your string constant.
- The only purpose for "^" that I can see is if you want to dynamically compose
- a command using string capability and then execute that command. I have used
- the Common User Interface function $eval to execute a function call that was
- put together using strings.
-