Page 1 of 1

GetTime / Base64str , reverse logic arguments

Posted: Wed Apr 22, 2020 6:13 pm
by plouf
the following two arguments are reversed in logic and in documentation
they should work reversed in true/false logic

Code: Select all

DebugPrint(GetTime(secs=False))
DebugPrint(GetTime(secs=True))

DebugPrint(Base64Str("test",encode=False))
DebugPrint(Base64Str("test",encode=True))

Re: GetTime / Base64str , reverse logic arguments

Posted: Thu Apr 23, 2020 9:45 am
by jPV
You're doing it wrong. Arguments given to these functions aren't tables, but just simple True or False values.

It works as documented when using like it's supposed in this way:
DebugPrint(GetTime(False))
DebugPrint(GetTime(True))