Quick newbish question...
Can Const be placed anywhere aside from the top of the script, like in functions and such? (Yes yes, I know you use them as parameters for functions, but that's not quite what Im looking for).
Like, is there anyway to make the following work, while keeping the const local to the procedure 'a':
Code:program New; procedure a; const aa = 1112; begin writeln(inttostr(aa)); end; begin a; end.


Reply With Quote







. But not scar.



