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.

E0486: Glink, formatting error in script 'getdate' function

Product: Glink
Platform: All
Status: fixed for 6.1.4
Last updated: 1999-02-03 14:14:19

If a script asks for the last two digits of the year using

    getdate %1 "YY"

and the year is 05 then the variable is returned with the value
"5" rather than "05".

Add an extra digit if needed, or ask for a four digit year. The below
example the "0" is only added when the script is executing on pre-6.1.4
versions of Glink.

getdate %1 "YY"
#ifndef 6.1.4
  getlength %2 %1
  if (%2 ltn 2) assign %1 ("0" %1)
(c) Copyright 1982-2018 Gallagher & Robertson AS. Webmaster: webmaster@gar.no

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