Skip to main content

This article is about the ResourceFileUpdate action in the USoft Action Language.

ResourceFileUpdate()

Changes the value of a resource in the in-memory resource database, treating any backslash ( \ ) as an escape character.

If the resource value contains backslashes, as is the case in file paths, you must use ResourceFileUpdateKeepBackslash() instead of ResourceFileUpdate().

Syntax

ResourceFileUpdate( 'resource' )

resource := name:value

The required resource contains the resource name followed by a colon (:) and the new value to which the resource is updated.

Example

ResourceFileUpdate( '*background: blue' )

ResourceFileUpdate() plays an important role in exchanging data between job tasks, decisions for branching and looping, and SQL that interacts with data in the database. See Decision variables and placeholders.

 

Be the first to reply!

Reply