[Gambas-bugtracker] Bug #1577: Long return type to DateDiff

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue May 14 18:55:24 CEST 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1577&from=L21haW4-

Comment #3 by Benoît MINISINI:

There is a "transitivity" rule that says that the datatype of a Gambas subroutine only depends on the datatype of its arguments.

If DateDiff() returns a Long when its argument is 'gb.milliSeconds', it will break the rule. So I'm afraid I won't do that (I don't want all other computations to return a Long).

Benoît MINISINI changed the state of the bug to: Abandoned.




More information about the Bugtracker mailing list