Enforced immutability: Difference between revisions
Content added Content deleted
(Added Lua example) |
(add FreeBASIC) |
||
Line 393: | Line 393: | ||
<lang Fortran>subroutine sub1(n) |
<lang Fortran>subroutine sub1(n) |
||
real, intent(in) :: n</lang> |
real, intent(in) :: n</lang> |
||
=={{header|FreeBASIC}}== |
|||
<lang freebasic>#define IMMUT1 32767 'constants can be created in the preprocessor |
|||
dim as const uinteger IMMUT2 = 2222 'or explicitly declared as constants |
|||
</lang> |
|||
=={{header|Go}}== |
=={{header|Go}}== |