How to set default values for array of boolean variables?
I tried this, but it’s nor working:
matrix = New Boolean(1,1) {{false, false},{false, false}}
How to set default values for array of boolean variables?
I tried this, but it’s nor working:
matrix = New Boolean(1,1) {{false, false},{false, false}}
Hi!
Try like this
New Boolean () {{"False","False"},{"False","False"}}
Regards,
NaNi
Thanks, but it’s not working.
Variable type - Boolean
for an init with falses we can do:
And also:
Kindly note the ( … ) on following statements used for inits:
just avoid mismatches for indexes and dimensions definitions