#include "he_utils.js" // this is include file var varStorage = new Storage(); var dialog_template = '\r\n \ '; for(var nItem = 0; nItem < 100; ++nItem) dialog_template += '\r\n' + ' '; dialog_template += '\r\n' + ' \ \r\n \ \r\n '; Output().Clear(); // show dialog using dialog template and variables storage for passing initial data Output().writeln("Dialog returns: " + dialog(dialog_template, varStorage)); // evaluate here returnCode (returnval of selected button) and decide if varStorage shall be evaluated Output().writeln("Dialog template:"); Output().writeln(dialog_template); // convert VB array to JS array and output it Output().writeln("List selection: " + ax2js(varStorage.dynamic_content_list));