4.12 Macro Calls
4.12 Macro Calls
A macro call consists of a name optionally followed by an
actual parameter list. The number of parameters in the actual
parameter list must be the same as the number of formal
parameters specified in the definition of the macro. If the macro
has no formal parameter list, its call must have no actual
parameter list.
1 Introduction
macro_call = name [actual_parameter_list]
2 Interface
actual_parameter_list =
      "@(" actpar { "@," actpar } "@)"
3 Scanner
actpar     = expression |
4 Parser
             ( whitespace "@""" expression
5 Analyser
               "@""" whitespace )
6 Tangle
whitespace = {" " | eol }
7 Weave
FunnelWeb allows parameters to be passed directly, or
8 Shell
delimited by special double quotes. Each form is useful under
9 Commands
different circumstances. Direct specification is useful where the
10 Glossary
parameters are short and can be all placed on one line. Double
11 References
quoted parameters allow whitespace on either side (that is not
considered part of the parameter) and are useful for laying out
rather messy parameters. Here are examples of the two forms.
   @"x:=1;@"  @,
   @"x<=10;@" @,
   @"print "x=%u, x^2=%u",x,x*x;
The two forms may be mixed within the same parameter list.
Experience has shown that, in most FunnelWeb files, the vast
majority of macros have no parameters.
Copyright   Ross N. Williams 1992,1999. All rights
http://www.ross.net/funnelweb/reference/parser_macro_calls.html (1 of 2) [3/3/2000 10:46:57 PM]

Actions web hosting footer





Home | About Us | Network | Compare Plans | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

Terms Of Service

j2ee web hosting


Our web partners: Web Hosting PHP Jsp Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting  Java Web Hosting

Cheap Web Hosting Java Hosting Cheapest Hosting Quality Web Templates Best Web Templates Web Design Templates

Java Web Hosting Cheap Hosting Cheap Web Hosting Jsp Web Hosting Tomcat Web Hosting

Quality Web Hosting Best Web Hosting Java Web Hosting

Actionswebhosting.com Business web hosting division of Vision Web Hosting Inc. All rights reserved.