Jump to content


- - - - -

PRO-IV 4.6 minor problem with MSG


3 replies to this topic

#1 Guest_Adrian Dodman_*

Guest_Adrian Dodman_*
  • Guests

Posted 26 August 1999 - 02:17 PM

There is a minor problem with the MSG command in that any message issued that does not exist or is blank will not sound a beep.
This may sound trivial but this is used in some packages to force a beep and then issue warnings with Umessages based on data.
Some will probably have done this in the first place but the obvious workaround is to use UMSG(CHAR(7)).

#2 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 26 August 1999 - 02:25 PM

Yep, We found that one 2 days ago.

I'm about to report it to PRO-IV support, so it will be fixed soon!!!!!!!!!!!

Rob

#3 Guest_Adrian Dodman_*

Guest_Adrian Dodman_*
  • Guests

Posted 26 August 1999 - 02:43 PM

Thanks Rob.

We too have reported this the other day, along with the other posts I made (except the compat. issue).

By the way, this PRO-IV forum thing is great - thanks.

#4 Chris Martin

Chris Martin

    Newbie

  • Members
  • Pip
  • 3 posts
  • Gender:Male
  • Location:Karlskrona, Sweden

Posted 01 October 1999 - 01:43 PM

There is a workaround which we have just discovered...
MSG(999,' ')
{note the space between the quotes}

This works because there is a new feature with 4.6 which allows you to put '%1' into a message and assign %1 a dynamic string by calling the message like this:
MSG(1,'string')
and define message 1:
'ERROR - %1'
(works for %2, %3 etc.)

We just realised that you don't even need to have the message there to do this.
Could have been been the introduction of this new feature that took away the beep on MSG(999) in the first place!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users