.. highlightlang:: us .. index:: updf_revert .. _updf_revert: updf_revert =========== .. us.tag updf_revert NOTREADYENGLISH updf updf-stor New560 :ref:`updf_revert` reverts all modifications since the last open or commit command (:ref:`updf_commit`). .. function:: bool = updf_revert(stg) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: stg *stg* is a storage object (see :ref:`updf_create_file`, :ref:`updf_open_file`, :ref:`updf_create_storage`). .. us.example **Example** .. include:: ../include/test_updf_revert.ic .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.6.0 - New .. seealso:: :ref:`overview-updf-files` :sub:`id-1009928`