开发者

Replacement for CharInSet function in Delphi Prism

Is there a similar function as CharInSet in Delphi Prism? If not, how would you do it?

I looked online and on StackOverflow, but they speak in t开发者_StackOverflow社区erms of Delphi not Delphi Prism for .NET.

I also found out that the include method for setting an element to a set is not available either.

what are the replacements, if any, for these method?


Use the in operator to test membership. Use the + operator in place of Include. A method like Include could not exist in Prism since sets are immutable in Prism.

See here for full details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜