Status response to BIOS_RAM_OP.
Trigger: Sent after the memory bank has received BIOS_RAM_OP.
Target: The link number that sent the BIOS_RAM_OP call.
link_message(integer sender_num, integer [memory_bank]
, string "BIOS_RAM_RESP", key [status]
+ "|" + [response]
+ "|" + [operation]
)
• integer | [memory_bank] |
• key | [status] + "|" + [response] + "|" + [operation] |
Parameter | Description |
---|---|
[memory_bank] |
Integer. Will be the [memory_bank] parameter passed with BIOS_RAM_OP. |
[status] |
String. Will be the status of the operation. See table below. |
[response] |
Variable cast as string. Will be the response of the operation. See table below. |
[operation] |
Pipe-delimited ("|") list cast as string. Will be the [operation] parameter passed with BIOS_RAM_OP.In other words, the key of this call will be [operation] with two additional elements added to the start. |
[status] |
Description |
---|---|
"ok" | The operation executed successfully. |
"err0" | The command sent is not for a valid operation.[response] will also be "invalid op". |
"err1" | The length of [operation] exceeded 8192 characters.[response] will also be "max op length exceeded". |
"err2" | The memory bank cannot perform the operation or else it would run out of memory.[response] will also be "out of memory". |
"err3" | [target] is not a valid target type.[response] will also be "invalid read target". |
"err4" | The memory bank cannot perform the operation or else the LDFS datastore would run out of space.[response] will also be "out of LDFS space". |
"err5" | The [user] parameter provided was not the [user] parameter sent with BIOS_RAM_ALLOCATE.[response] will also be "invalid user". |
"err6" | The [add_start] and [add_end] parameters were both empty.[response] will also be "invalid padding". |
If [status]
is not "ok", [response]
will be a short textual description of the error.
Otherwise, [response]
depends on the command used:
[command] |
[response] |
---|---|
"L" (Length) | [chars_used] + "+" + [max_chars] . For example, an empty memory bank would return "0+8192". |
"R" (Read) | If [target] was an empty string, the data returned by the read operation. Otherwise, a blank string. |
"V" (Version) | The version number of the memory bank script. |
"X" (Index) | The result of llSubStringIndex; i.e., the index of [needle] in the range of the memory string bound by [start] and [end] , or -1 if not found. |
For all other commands, [response]
will be a blank string.
[user]
values for allocated memory banks