Re: xVariable max 1024 bytes ?

"Gui4cli [email protected] [gui4cli]" <[email protected]> Tue, 13 May 2014 11:44:11 +0430
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
The buffers are used to expand things in, ie translate variables etc. Since everything gets translated at some point, it affects everything the same way.

Sent from my iPhone

On 12 Μαϊ 2014, at 11:04, "[email protected] [gui4cli]" <[email protected]> wrote:

> 
> > No, their sizes should vary according to the buffer size, like everything else.
> 
> I get the buffer message immidiately at startup when th addCode with the xVariable is executed.
> Perhaps the addCode command has that 1024 bytes limit?
> 
> It basically works great because when I escape the the dollar sings of variables in the xVariable,
> it load and runs a fully functional script. Here's an example...
> 
> =======================================
> 
> xVariable restart
> G4C RESTART
> xOnload
> mode = \$avanti.app_restart
> path = \$\$env.avanti_path
> guiclose avanti
> SetEvent #this timer ON
> xTimer PERIOD 2 SECOND OFF
> attr ID timer
> if \$mode = 2
> copy '\$path/avsystem/backup/avanti.ini' '\$path' SILENT/NOERROR/YESTOALL
> copy '\$path/avsystem/backup/avtools.ini' '\$path' SILENT/NOERROR/YESTOALL
> copy '\$path/avsystem/backup/formats.dat' '\$path/avsystem' SILENT/NOERROR/YESTOALL
> copy '\$path/avsystem/backup/codecs.dat' '\$path/avsystem' SILENT/NOERROR/YESTOALL
> endif
> guiopen avanti
> guiquit #this
> ###
> 
> ========================================
> 
> Chris
> 
>