RESOPEN() Function - Open Resource File

Syntax

RESOPEN(filename{,ERR=lineref})

Description

For BBj-specific information, see the RESOPEN() Function - BBj.

The RESOPEN() function opens a resource file and returns an integer handle.

Parameter

Description

filename

Name of the resource file to be opened. The path and name in the filename parameter are used in the open. The PREFIX is not used in the file search.

ERR=lineref

Branch to be taken if an error occurs during execution.

Examples

0010 A=RESOPEN("RESOURCE.brc",ERR=0020)
0050 B=RESOPEN("C:\BASIS\PRO5WIN\MYFILE.BRC")

See Also

RESCLOSE Verb

RESFIRST() Function

RESGET() Function

RESGET() Function - BBj

RESINFO() Function

RESINFO() Function - BBj

RESNEXT() Function

RESOPEN() Function - BBj

Functions - Alphabetical Listing