Forum > General

Internal error 2011010304, a rare one

<< < (2/3) > >>

PascalDragon:

--- Quote from: Fibonacci on February 18, 2024, 01:55:11 am ---I guess this one is a rare one


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---{$modeswitch arrayoperators} var  bools: array of boolean;  bool: boolean; begin  bools += [bool or bool]; // project1.lpr(8,26) Error: Internal error 2011010304end.
--- End quote ---

Please report a bug.

Fibonacci:

--- Quote from: PascalDragon on February 18, 2024, 01:30:56 pm ---Please report a bug.

--- End quote ---

I did: https://gitlab.com/freepascal.org/fpc/source/-/issues/40650

BTW. Did you see this?
https://forum.lazarus.freepascal.org/index.php/topic,66218.msg506455.html#msg506455

PascalDragon:

--- Quote from: Fibonacci on February 18, 2024, 01:33:30 pm ---
--- Quote from: PascalDragon on February 18, 2024, 01:30:56 pm ---Please report a bug.

--- End quote ---

I did: https://gitlab.com/freepascal.org/fpc/source/-/issues/40650
--- End quote ---

Thanks, hadn't looked at GitLab in the last 24 hours however. ;)


--- Quote from: Fibonacci on February 18, 2024, 01:33:30 pm ---BTW. Did you see this?
https://forum.lazarus.freepascal.org/index.php/topic,66218.msg506455.html#msg506455

--- End quote ---

Yes, but I currently have more important fires to put out in the time I have available.

Joanna:
I always thought that it was necessary to set length of dynamic array before trying to use it? Since when has it been possible to add things to an array like It’s a string?

speter:

--- Quote from: Joanna on February 18, 2024, 11:43:34 pm ---I always thought that it was necessary to set length of dynamic array before trying to use it? Since when has it been possible to add things to an array like It’s a string?

--- End quote ---
Joanna, I don't know when {$modeswitch arrayoperators} were added; but to find out about the option, follow the link in reply #3.

cheers
S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version