{"id":3871,"date":"2019-02-12T16:10:04","date_gmt":"2019-02-12T16:10:04","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/restore_array_var\/"},"modified":"2025-07-25T12:56:20","modified_gmt":"2025-07-25T17:56:20","slug":"restore_array_var","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/2-variables-and-computations\/restore_array_var\/","title":{"rendered":"restore_array_var"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Restore the contents of a specified CyFlex array variable from a disk file.<\/p>\n<p>The contents of all CyFlex array variables are continuously saved in hard disk files by the &#8220;save_status&#8221; application. The values are stored in files in the \/data\/ directory with file names that are &#8216;label&#8217;.array<\/p>\n<p>When CyFlex is shut down by the &#8220;slay_stuff&#8221; command, one last update of these files is performed. If there is a need to restore the contents of an array variable when the system is restarted with a &#8220;go&#8221; command, then the array values can be recovered from the disk file with this command.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>restore_array_var<\/strong> &lt;label&gt;<br \/>\nThe commands are usually placed in the \/cell\/go.scp startup script.<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 83.46%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 7.91%;\">label<\/td>\n<td style=\"width: 223.9%;\">Specify the root name of the array variable to restore.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>restore_array_var<\/strong> state<br \/>\n<strong>restore_array_var<\/strong> priority<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Restore the contents of a specified CyFlex array variable from a disk file. The contents of all CyFlex array variables are continuously saved in hard disk files by the &#8220;save_status&#8221; application. The values are stored in files in the \/data\/ directory with file names that are &#8216;label&#8217;.array When CyFlex is shut down by the [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1966,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3871","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3871"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3871\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1966"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}