WMLScript refresh() Function

The refresh() function refreshes the current card. If the refresh is successful, it returns an empty string. If it fails, it returns a non-empty string.

Syntax

n = WMLBrowser.refresh()
Components Description
n The string returned by this function.

Example

var a = WMLBrowser.setVar("day",11);
var b = WMLBrowser.refresh();

Result

a = true
b = ""