Dear all,

Does anyone know if it is possible to set a user variable from script?

I have a clip where I want the current date in compact ISO style (YYYYMMDD),
like

DROP PROCEDURE IF EXISTS Upgrade§;
DELIMITER //
CREATE PROCEDURE Upgrade§()
       MODIFIES SQL DATA
       COMMENT 'Last updated ' -- I want the current date here, like 20150616
       BEGIN
       |
       END//
DELIMITER ;
CALL Upgrade§();
DROP PROCEDURE IF EXISTS Upgrade§;

I could do that with a user variable, but it would need to be set. That could be
done by a JavaScript file at start-up. However, I could not find a JavaScript
function to set a PSPad variable, only to read it. Is there a way to set a user
variable from script so I can use it in a clip?

-- 
<http://forum.pspad.com/read.php?2,65386,65386>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem