Technical data
B-13
identifier. When using array indexing on a scalar, the constant is automatically 
scalar expanded and the value of the scalar is returned. For example:
%openfile x
%assign y = x[0]
This example would cause this error because x is a file and is not valid for 
indexing.
The argument to %include must be a valid string
The argument to the input file control directive must be a valid string.
The 
begin
 directive must be in the same file as the corresponding 
end
directive.
These Target Language Compiler begin directives must appear in the same file 
as their corresponding 
end directives: %function, %switch, %foreach, %roll, 
and 
%for. Place the construct entirely within one Target Language Compiler 
source file.
The 
begin
 directive on this line has no matching 
end
 directive
For block-scoped directives, this error is produced if there is no matching end 
directive. This error can occur for the following block-scoped Target Language 
Compiler directives:
Begin 
Directive
End
Directive
Description
%if %endif
Conditional inclusion (page 2-18)
%foreach %endforeach
Looping (page 2-19)
%roll %endroll
Loop Rolling (page 2-22)
%with %endwith
Scoping directive (page 2-41)
%switch %endswitch
Switch directive (page 2-18)
%function %endfunction
Function declaration directive 
(page 2-44)










