Код: Выделить всё
//Two functions to pass static variable LASTROW to f Create Accounts and f AutoRegWaitList to avoid changes to the LASTROW variable whist the 3 are running
function setlastrow () {
LASTROW = wsFormresponses.getLastRow();
PropertiesService.getScriptProperties().setProperty("lastrow", LASTROW);
}
function getlastrow () {
var LASTROW = PropertiesService.getScriptProperties().getProperty("lastrow");
}
Logger.log(getlastrow)
////////////////////////////////////////////
< /code>
и называется как это?
for (var i=50;i
Подробнее здесь: [url]https://stackoverflow.com/questions/79601528/i-want-to-pass-a-variable-from-one-script-to-another-in-the-same-app-script-proj[/url]