![]() |
Empty string crash (*solved*) - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: Empty string crash (*solved*) (/showthread.php?tid=486) |
Empty string crash (*solved*) - britlion - 08-03-2012 Compiler crashes if a sub is sent an empty string: Code: SUB stringtest (thing as string) Re: Empty string crash - boriel - 08-04-2012 britlion Wrote:Compiler crashes if a sub is sent an empty string:True, and fixed. Please, download the latest version, try it and tell me. Re: Empty string crash - britlion - 08-05-2012 That seems to fix it. What was the error? Re: Empty string crash - boriel - 08-05-2012 An error in the compiler, which wasn't checking in a string parameter was constant and zero-length ![]() |