After installing NT8.12, I am now getting "Expression cannot be Picture" error message when compiling.  The field that it is complaining on has a "Must be in Numeric Range" in the dictionary. This has a Data Type of "LONG", Screen Picture of "@n04", Initial Value of "RANDOM(1002,9997).
The generated code:
  ! Automatic Dictionary Validation
    If InRange(OWN:PINNumber,1002,9997) = false
      loc:Invalid = 'OWN:PINNumber'
      if not loc:alert then loc:Alert = p_web.translate('OWN:PINNumber') & ' ' & clip(p_web.site.MoreThanText) & ' ' & clip(p_web.mformat('1002',@S250)) & ', ' & clip(p_web.site.LessThanText) & ' ' & clip(p_web.mformat('9997',@S250)).
    End
It complains on clip(p_web.mformat('1002',@S250)) and clip(p_web.mformat('9997',@S250)).
This was working fine with version 8.11.
Alan