Ruud H.G. van Tol on Thu, 06 Jul 2023 10:01:38 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: How to do t_INT bit operations?



On 2023-07-06 09:14, hermann@stamm-wilbrandt.de wrote:

print(Str(gettime())"ms");

Just to nitpick:

Str() can be used as a string-concatter,
but print() already does that itself.

AFAIK, these do about all the same:

print(Str(gettime())"ms");
print(Str(gettime())ms);
print(Str(gettime()),"ms");
print(Str(gettime(),"ms"));
print(Str(gettime()ms));
print(gettime()ms);
print(gettime(), "ms");

And I would always use the last one.


I hardly ever use gettime(), I prefer to use
stored getabstime() values, with printf.

-- Ruud