PDA

View Full Version : execute string limit



hcrisp
01-05-2012, 11:01 AM
What is the limit for the number of string characters that the EXECUTE function may accept, if any? I called it on a very long string and it did not return a status of true.

rwagner
01-09-2012, 08:48 AM
If you try to make one big command string at the command line you are limited by the max length of a wave command (2047). But if you create the command in steps using concatenation and then pass the variable 'command' to execute then the length of command would be limited by the max allowable wave string length. The limit used to be pretty small, but I can't seem to hit it now. I just made a string with over a million characters and it didn't complain so I guess we have effectively eliminated that limit at some point... which version of WAVE are you running?

-Ryan

hcrisp
01-09-2012, 10:36 AM
PV-WAVE 9.50c on 32-bit Windows XP.

rwagner
01-09-2012, 04:11 PM
Ok, then the limit I mentioned above (2047) is correct for that version of PV-WAVE.