This script unit methods that generates resource references compatible with the schema type ods:resource. 
Example:
uses core.resource as resource;
export function getValue(): typeof record.functions.ResourceValue
begin
  return resource.toImage('ebx-test','on_anim_wait.gif');
end
| Methods | 
|---|
| function toImage(moduleName: string, filePath: string): string Returns a reference to an image resource. | 
| function toIcon(moduleName: string, filePath: string): string Returns a reference to an icon resource. | 
| function toJavaScript(moduleName: string, filePath: string): string Returns a reference to an JavaScript file resource. | 
| function toStyleSheet(moduleName: string, filePath: string): string Returns a reference to an style sheet file resource. | 
| function toHtml(moduleName: string, filePath: string): string Returns a reference to an image resource. | 
Returns a reference to an image resource.
Parameters :
moduleName: the module name.
filePath: the local file path for the resource.
Return :
the resource string compatible with the schema type ods:resource.
Returns a reference to an icon resource.
Parameters :
moduleName: the module name.
filePath: the local file path for the resource.
Return :
the resource string compatible with the schema type ods:resource.
Returns a reference to an JavaScript file resource.
Parameters :
moduleName: the module name.
filePath: the local file path for the resource.
Return :
the resource string compatible with the schema type ods:resource.
Returns a reference to an style sheet file resource.
Parameters :
moduleName: the module name.
filePath: the local file path for the resource.
Return :
the resource string compatible with the schema type ods:resource.
Returns a reference to an image resource.
Parameters :
moduleName: the module name.
filePath: the local file path for the resource.
Return :
the resource string compatible with the schema type ods:resource.