# Store Unit

Grammar — Store unit value|Unit as key of section section in bank bank
FlagsNative | Action

Stores a Unit in the specified Bank. The Section and Key parameters determine where the Unit is stored in the bank file, and must be used to restore the unit later. You must save a bank after storing a value, otherwise the value will not exist to load later. Unit values are recalled with the “Restore Unit” action.

# Arguments

  • bank — Bank
  • string — Section
  • string — Key
  • unit — Value

Returns — void

native void BankValueSetFromUnit(
	bank b,
	string section,
	string key,
	unit value,
);

Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)

# Examples

— None found —