ResourceFileUpdate()

  • 31 August 2022
  • 0 replies
  • 40 views

Userlevel 3
Badge +2

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.

 


0 replies

Be the first to reply!

Reply