Forum > General
Writable consts...?
cdbc:
Hi
I'm wondering, does the array in this record constitute a 'writable const'?:
--- 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";}};} --- PLogDirsCreated = ^TLogDirsCreated; TLogDirsCreated = record const ldcDirs: TStringArray = ('common','models','presenters','views'); var ldcAbreviation: string; ldcLogText: string; ldcProjectname: string; ldcResult: boolean; ldcRoot: string; end;I mean, in the case of 'ldcDirs', would I later be able to e.g.: extend or truncate the array?!?
Regards Benny
Zvoni:
I think it is.
OTOH, try and error? :-P
Thaddy:
{$J+/-}
cdbc:
Hi
Thaddy is that just in the implementing unit or also in the units using it?!?
Regards Benny
cdbc:
--- Quote ---OTOH, try and error? :-P
--- End quote ---
Hehehe Zvoni, that's my next move, but it never hurts to ask :D
Regards Benny
Navigation
[0] Message Index
[#] Next page