I know that FlexSim is written in c++ from which the OOP style appears. In my models I have created and set several labels in custom code activities like the following
token.First_label = 345; token.Second_label = “Hello”;
Then later on if I try to access a label, a list of label suggestions would appear. This is really helpful when keeping track of initialized labels. However I have observed that the suggestions are quite inconsistent with the actual labels currently associated with the token in question. Sometimes labels are missing and other times they appear despite no longer existing.
I have programmed quite a few things using java and the eclipse editor. Here, anytime upon accessing object fields (what FlexSim refers to as labels) using dot-syntax a list will appear highlighting all current fields.
Am I unable to see my custom token labels due to way in which I create and set labels?