
function okprf(blkprf)

%editglob
global EDIT_MODE

if ~EDIT_MODE
  error('You are not in edit mode.  Set EDIT_MODE = 1 to enable.')
end

if nargin == 1
  flagprf(0, blkprf)
else
  flagprf(0)
end
