How to check boolean true for size of file?

(imported topic written by SystemAdmin)

Q: exists size of file “/opt/storix/bin/stapi-TSM” = “16796”

E: The operator “equal” is not defined.

(imported comment written by jeremylam)

Dropping the “exists” in front works for me:

q: size of file “c:\this” = 26

A: True

(imported comment written by SystemAdmin)

Initally failed,

Q: size of file “/opt/storix/bin/stapi-TSM” = “16796”

E: The operator “equal” is not defined.

Removed the " " around the value

Bad value

Q: size of file “/opt/storix/bin/stapi-TSM” = 16796

A: False

Good value

Q: size of file “/opt/storix/bin/stapi-TSM” = 26895

A: True

Thanks for you help