You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's suppose I intent to insert some attributes with their getters/setterrs methods, so would be nice if it's possible by a looping snippet like this one (example in vb script):
trigger
vbs-attributes(name,age)
linked to these hypothetical snippet:
'''''''''''
' atributes
'''''''''''
$[![(repeat)
private $[![(var)]!]
]!]
'''''''''''
' getters and letters
'''''''''''
$[![(repeat)
' attribute $[![(var)]!]
Public Property Let fun$[![(var)]!](pTxt)
$[![(var)]!] = pTxt
End Property
Public Property Get fun$[![(var)]!]()
fun$[![(var)]!] = $[![(var)]!]
End Property
]!]
resulting in:
'''''''''''
' atributes
'''''''''''
private name
private age
'''''''''''
' getters and letters
'''''''''''
' attribute name
Public Property Let funname(pTxt)
name = pTxt
End Property
Public Property Get funname()
funname = name
End Property
' attribute age
Public Property Let funage(pTxt)
age = pTxt
End Property
Public Property Get funage()
funage = ageEnd Property
End Property
It's it possible? How?
The text was updated successfully, but these errors were encountered:
gwarah
changed the title
looping resource
looping snippet
Feb 2, 2017
Let's suppose I intent to insert some attributes with their getters/setterrs methods, so would be nice if it's possible by a looping snippet like this one (example in vb script):
vbs-attributes(name,age)
It's it possible? How?
The text was updated successfully, but these errors were encountered: