Strings vs expressions

James Bonfield jkb at mrc-lmb.cam.ac.uk
Mon Feb 19 15:57:39 UTC 2001


On Mon, Feb 19, 2001 at 03:54:15PM +0000, rice wrote:
> When () are nested, the inner ones are always evaluated first.
> 
> $ or @ on their own, with no (), are unchanged.

So what you're saying basically is that $(...) and @(...) are expressions (to
the matching bracket), and any other occurrence of $, ( and @ are just basic
text. (That's fine as it now agrees with how I changed things - previously I
was working on $ and @ at the start of a word indicating an expression.)

Could this behaviour please be documented? The ACD docs seem to indicate that
all parsing is done on a word by word basis, which is where I originally
concluded that $/@ starting a word indicates an expression.

James

-- 
James Bonfield (jkb at mrc-lmb.cam.ac.uk)   Tel: 01223 402499   Fax: 01223 213556
Medical Research Council - Laboratory of Molecular Biology,
Hills Road, Cambridge, CB2 2QH, England.
Also see Staden Package WWW site at http://www.mrc-lmb.cam.ac.uk/pubseq/







More information about the emboss-dev mailing list