#include "he_utils.js" // this is include file var user_val = "Test"; var val_checked = true; var tri_val_checked = eCheckStateIndeterminate; var optionb2 = true; var rbgroup = 3; var comboindex = 2; var combotext="Freeform List"; var listboxindex = 0; //var multi_listboxindex = "0,2"; var multi_listboxindex = js2ax(new Array(0,2)); var varStorage = new Storage(); varStorage.write("user_val2", "Some second Test"); var dialog_template = '@ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ @'; Output().clear(); Output().writeln("Dialog returns: " + dialog(dialog_template, varStorage)); Output().writeln("user_val : " + varStorage.read("user_val")); Output().writeln("user_val2: " + varStorage.read("user_val2")); Output().writeln("Variable user_val: " + user_val); Output().writeln("Variable checked: " + val_checked); Output().writeln("Variable tri_val_checked: " + tri_val_checked); Output().writeln("Variable optionb2: " + optionb2); Output().writeln("optionb3: " + varStorage.read("optionb3")); Output().writeln("optionb1: " + varStorage.read("optionb1")); Output().writeln("Variable rbgroup: " + rbgroup); Output().writeln("Variable comboindex: " + comboindex); Output().writeln("Variable combotext: " + combotext); Output().writeln("Variable listboxindex: " + listboxindex); Output().writeln("Variable multi_listboxindex: " + ax2js(multi_listboxindex)); Output().writeln("--------------------------------------------------------------"); var aValues = ax2js(varStorage.Values); for (i = 1; i < aValues.length; i++) Output().writeln(aValues[i].Name + " = " + aValues[i].Value);