Facebook

Fill out this form to subscribe to news, tips and information about updates.

Read more
Search known errors
From date:
To date:

Follow us
Facebook    Twitter    LinkedIn

G&R » Support » Known Errors  

Known Errors

These are the known errors in our products, logged as reported with versions and platforms affected as well as corrections and work-arounds.

This list is largely historical, since it records all problems that have been reported throughout G&R history. Only the most recently reported problems still exist, unless you are using a very old copy of the product, in which case you should update the product to the most recent version.


E0994: Gweb #if#-macro fails if both operands are macros

Product: Gweb 6.0 and 6.1
Platform: All
Status: Fixed for 6.2 fix available for 6.0 and 6.1.1
Last updated: 2004-05-24 07:39:24

The #if ...# and #elsif ...# macros compare two values. One or
both of these values can themselves be Gweb macros, such as
#field(3)#.

If both the two operands were Gweb macros, the #if# and #elsif#
compararisons always returned a TRUE value, regardless of the
contents of the two fields.

For example,

   #if field(1) == field(2)# 

TRUE

#else#

FALSE

#endif# would always return TRUE (assuming both field 1 and field 2 exist). The following avoidance procedure can be used on Gweb 6.1, but only if the content of the fields are numeric: #$2 = field(2)# #if field(1) == $2#

TRUE

#else#

FALSE

#endif#
(c) Copyright 1982-2017 Gallagher & Robertson AS. Webmaster: webmaster@gar.no

URL: http://www.gar.no/support/errors
 
PARTNERS