What´s the difference between #r and r?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paulo_Sarli
Posted On:   Friday, April 19, 2002 08:41 AM

Suppose the following code snippet-> r:rule ...

What´s the difference between

{
if (r) ...
}

and

{
if (#r) ...
}

?

Re: What´s the difference between #r and r?

Posted By:   Terence_Parr  
Posted On:   Sunday, April 21, 2002 01:13 PM

#r is translated to r by chance; please use #r to indicate the tree returned by rule r. In a #(...) tree spec, r is understood to have a # prefix.
About | Sitemap | Contact