04-16-2010, 10:13 PM
programandala.net Wrote:I guess it has something to do with strings, not with CONST, because the same error happens with DIM in this line:As britlion said, this is not allowed with strings. The reason for this is that unlike numeric types, strings can change its size during runtime and have a different internal compiler treatment (strings are more like C or Pascal; in fact they're Pascal strings). I will try to workaround this in the future.
dim recordPlayerName as string = "Lutero"