WMLScript uses pragmas to identify other compilation units that it uses. This name can then be used inside a function declarations to make external function calls. As we explained in our previous column, WMLScript scripts are stored under .wmls file extension and their compilation results are stored under .wmlsc . The use url pragma has its own name space for local names, but they must be unique within the same compilation unit. Another type of pragma is the access control pragma .
Every compilation unit can have only one access control pragma.
The access control pragram specify which URLs can call the external functions in the access-controlled compilation unit. A URL consists of a domain name and a path. The referring compilation unit's domain name is matched with the access domain specification, while the compilation unit's path is matched with the access path specification. The domain matching is guided by two principles. First, they are suffix matched, i.e. matching is done from right to left.