/
file.equal()

file.equal()

 

This method checks for an exact match after a call to file.positionTo() on a specific file.

Return Value

A Boolean value indicating whether/not an exact match was found.

Examples

Conditional logic using exact match state
myfile.positionTo(["keyVal1", "keyVal2"]); if (myfile.equal()) doSomething();

RPG Equivalent

%EQUAL(file_name)

Requirements

This API requires the Profound.js Connector module.

Looking for labels? They can now be found in the details panel on the floating action bar.