Memory Helpers

Delete

Deletes a value on a specific key.

Syntax: Delete(key)

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

key

String

True

Load

Loads a value saved on the specified key.

Syntax: Load(key, [ defaultValue ])

Returns the saved value or nil.

Return type: Dynamic

Parameter Name
Parameter Type
Required
Suggestions

key

String

True

defaultValue

Dynamic

False

Number,Text,True,False

Log

Create a message in the log.

Syntax: Log(message, [ color ])

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

message

Dynamic

True

Text

color

String

False

ColorAqua,ColorBlack,ColorBlue,ColorCyan,ColorDarkGray,ColorDarkGreen,ColorFuchsia,ColorGold,ColorGray,ColorGreen,ColorMaroon,ColorOlive,ColorOrange,ColorPurple,ColorRed,ColorSkyBlue,ColorTeal,ColorWhite,ColorYellow,ChangeColorOpacity

LogError

Create an error message in the log.

Syntax: LogError(message)

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

message

Dynamic

True

Text

LogWalletError

Create a warning message in the log and activates the trade amount error.

Syntax: LogWalletError(message)

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

message

Dynamic

True

Text

LogWarning

Create a warning message in the log.

Syntax: LogWarning(message)

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

message

Dynamic

True

Text

Save

Saves a value on a specific key. This value can be retrieved with Load(). A maximum of 10.000 keys can be stored.

Syntax: Save(key, value)

Return type: Void

Parameter Name
Parameter Type
Required
Suggestions

key

String

True

value

Dynamic

True

Last updated