Reputation: 170
I don't know how to find keyword for this (*-) in Google, and I don't know what is name. So I ask here.
Sample code :
StartDate:=IncMinute(FinishDate,TotalMinutes*-1);
What is TotalMinutes*-1
if I write in 'normal' syntax ?
Upvotes: 0
Views: 2852
Reputation: 16862
It is multiplying TotalMinutes
by -1... IOW, it looks like it is decrementing the Minutes.
Write it like this: TotalMinute * -1
and it is more clear. The *
is the multiplication operator and the -
is the unary minus operator.
Upvotes: 6