So I have started playing around with a Kuka robot after using ABB exclusively for the last few years. Is its possible to set up a Switch Case statement that accepts a String instead of an INT or CHAR? Or am I going to have to use a bunch of If Else statements?
Switch Case
-
bellm -
September 24, 2014 at 10:15 PM -
Thread is marked as Resolved.
-
-
-
I'm not familiar with enumeration what kind of variable is it?
-
An enum is a group of names used to make a list. If you pass an enum to a function you are sure that the received value must be in that list.
As a big difference between krl and almost anything under the sun is that enums usually link each name to an integer value which krl doesn't.
See: http://en.m.wikipedia.org/wiki/Enumerated_type
Good luck.