blob: 3a0319fa79c1d1d9a87b66f27bb9d86994dfc8e4 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstrad59c3892019-11-28 20:53:39 +01002 mixed restore_value(string str)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 Decode the string representation <str> of a value back into the value
6 itself and return it. <str> is a string as generated by save_value().
MG Mud User88f12472016-06-24 23:31:02 +02007
Zesstra715ec202025-07-09 22:18:31 +02008 The '#x:y' version specification of the saveformat is optional,
9 however the driver will assume the old format version 0 in this case.
10 It is strongly recommended to regard the version specification as
11 non-optional in newly saved values.
12
13HISTORY
14 Introduced in LDMud 3.2.8.
15 LDMud 3.2.9 added the restoring of non-lambda closures, symbols,
16 and quoted arrays, using a new savefile format version.
17 LDMud 3.5.0 added the possibility to restore version 2 with its higher
18 float precision.
19
20SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020021 save_value(E), restore_object(E), save_object(E)