Community
Participate
Working Groups
Build Identifier: 20110831 Get no validation error on: dataItem newDataItem string end Since there is no error, a program using the dataItem gens and executes. Looks like to me it's supported. :-) Reproducible: Always
I am not sure why this would not be supported. We support all primitive types (except any) as the type for data items.
Somebody needs to rule on whether dataItem is supported or not. With the 20110920 build, it's still in content assist, there is no validation error, and I can gen and run a program with dataItems.
The plan for DataItem in EDT is to allow its type to be anything, not just primitive types like in RBD. That work didn't make the cut for 0.7, so I've been saying we don't support DataItems. But after a few conversations we have decided to allow DataItems in a limited way. It's like RBD, the type has to be a primitive, and the type can't be any. There's an additional restriction for EDT 0.7 that annotations on the DataItem will be ignored. The workaround is to annotate the variable whose type comes from the DataItem.
Change in design.