Is there a way to make variables declared in a module of user defined type 'read only' by programs that 'USE' the module? I can't use the 'PARAMETER' keyword because a user defined function is needed to initialize the values. Instead, the 'SAVE' keyword is used and a 'CONTAINED' subroutine is used to initialize the values.
I want to prevent programs from changing the values of the variables but don't know how.
I want to prevent programs from changing the values of the variables but don't know how.