Important: $WBINC function is processed before any other function, tag or section. Therefore it can not accept other WhizBase functions as arguments, nor it can be used as an argument for other WhizBase functions. For situations where it is required (e.g. to use Whizbase functions in a file name, or to use include file as a part of $WBIF or $WBCASE functions, etc.) use $WBRINC.
Availability
$WBINC is available for use with all WBSP commands.
Syntax
$WBINC{includefilename}
$WBINC[includefilename]
Parameters
includefilename - full path and file name of the file that should be
included. Included file can contain <!--WB_BeginDetail-->
and <!--WB_EndDetail--> comments.
Returns
Source code of the file
includefilename. If source code contains
<body> and </body> tags, function will include only the source code between
these tags.
Example
File menu.ic
After running this example, the resulting page in web browser may look like this: