Simulation Instruments

Home›All functions›Persistence

Persistence

Simulation Instrument Studio 1

persist_add

Simulation Instrument Studio 1

Definition

persist_id = persist_add(key, type, initial_value)

Remarks

Open up a new persistence object (survives restarts).

Example

No sample instrument calls this yet.

persist_add()
Photo slot: shots/persist_add.png

persist_put

Simulation Instrument Studio 1

Definition

persist_put(persist_id, value)

Remarks

Put a new value in the persistence object.

Parameters

NameDescription
persist_idId returned by the call that created the object.
valueThe value to write.

Example

No sample instrument calls this yet.

persist_put(persist_id, value)
Photo slot: shots/persist_put.png

persist_get

Simulation Instrument Studio 1

Definition

value = persist_get(persist_id)

Remarks

Get the value from a persistence object.

Example

No sample instrument calls this yet.

persist_get()
Photo slot: shots/persist_get.png