| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
| Reference Type | Category | ICR # |
|---|---|---|
| Supported | Database Server (DBS) | 2054 |
The $$HTML^DILF extrinsic function has two capabilities:
^As a side effect, & characters are encoded as the following string:
&Other encodings typical of HTML are not performed by this function, since its focus is on encoding the ^ character used as the delimiter in VA FileMan databases.
$$HTML^DILF(string[,action])
| string |
(Required) The string to be either encoded or decoded. Encoding a string that contains no ^ or & characters has no effect on the string. Nor does decoding one that lacks ^ and & substrings. |
| action |
(Optional) Set this parameter to the following:
Defaults to 1. |
The function evaluates to the encoded or decoded string. If encoding the string makes it overflow the string length limit, it returns error 207. Decoding never makes it overflow.
Table 63 lists the possible error codes returned with the $$HTML^DILF API:
Table 63: $$HTML^DILF—Error Codes Returned
| Code | Description |
|---|---|
| 207 | The value is too long to encode into HTML. |
Reviewed/Updated: May 2026