VA FileMan V. 22.2 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Database Server (DBS) API


$$CREF^DILF(): Root Converter (Open to Closed Format) 

Reference Type Category ICR #
Supported Database Server (DBS) 2054
Description

The $$CREF^DILF extrinsic function converts the traditional open-root format to the closed-root format used by subscript indirection. It converts an ending comma to a close parenthesis. If the last character is an open parenthesis, the last character is dropped.

Format
$$CREF^DILF(open_root)
Input Parameter
open_root

(Required) An open root that is a global root ending in either an open parenthesis or a comma.

Example

Figure 182: $$CREF^DILF API—Example: Input and Output

    >W $$CREF^DILF("^DIZ(999000,") <Enter>
    ^DIZ(999000)

 


Reviewed/Updated: May 2026