Re: xVariable max 1024 bytes ?
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
> 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