HP Forums

Full Version: Error HVars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Bonjour
Suite à un bug dans un programme, je me suis aperçu que si vous appelez une variable inexistante avec HVars :
Vous obtenez un message : Erreur donnés stat insuff.

Hello
Following a bug in a program, I realized that if you call a non-existent variable with HVars:
You get a message: Error insufficient statistics data.
Hello Tyann,
Does it works to trap the error with an IFERR test?

Just guessing a solution

Giancarlo
Thank you. It was definitely returning the wrong error here - or at least the message was later changed to be more specific with stats and this case was missed being changed to something else.
(01-18-2018 03:22 PM)Giancarlo Wrote: [ -> ]Hello Tyann,
Does it works to trap the error with an IFERR test?

Just guessing a solution

Giancarlo

Bonjour
Oui, on peut aussi utiliser :
IF NOT POS(HVars,"nomvar") THEN


Hello
Yes, we can also use:
IF NOT POS (HVars, "nomvar") THEN
Reference URL's