D drj Member Licensed User Longtime User Mar 24, 2013 #1 Hi , I am converting a class to this platform from VB. I am not sure how to handle the following. Public Property Expression As String Get Expression = Expr End Get Set(value As String) End Set End Property Public Property VarTop As Long Get VarTop = VTtop End Get Set(value As Long) End Set End Property Does anyone have any experience converting this? i.e. Property and Get and Set statements?
Hi , I am converting a class to this platform from VB. I am not sure how to handle the following. Public Property Expression As String Get Expression = Expr End Get Set(value As String) End Set End Property Public Property VarTop As Long Get VarTop = VTtop End Get Set(value As Long) End Set End Property Does anyone have any experience converting this? i.e. Property and Get and Set statements?
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2013 #2 Currently class do not support properties. You will need to break each property into two methods: B4X: Public Sub SetExpression(Value As String) End Sub Public Sub GetExpression As String End Sub Upvote 0
Currently class do not support properties. You will need to break each property into two methods: B4X: Public Sub SetExpression(Value As String) End Sub Public Sub GetExpression As String End Sub