Why the result is different as it uses

 Code:
If InGroup($Group)
  ? "Group >> " + $Group
EndIf

Result = No Printer

and

 Code:
If InGroup($Group) = 0
  ? "Group >> " + $Group
EndIf

Result = two printers

What should I use? What is the right way?
_________________________