Abruptly within the same day when all was fine i started to get without any changes in the source code
integer*4 function cbChangePalette()
use clrwin
real*8 FofSizeIncr
common /ColorPalette1_/ FofSizeIncr, iCurrPalettePart, iCurrPaletteSol, kSizeProportToIntens
integer iCurrPaletteNo
common /ColorPalette0_/ iCurrPaletteNo
integer, external :: PrepareIntegerColorbarArray
jj=PrepareIntegerColorbarArray(iCurrPaletteNo) <---- debugger stopped here
cbChangePalette=1
end function
Error: Attempt to call a subroutine as if it were a real(kind=1) function.
Subroutine ???