You are here: PSPad forum > English discussion forum > Code Explorer and vbscript class Property Get code blocks
Posted by: clanman | Date: 2013-08-14 23:59 | IP: IP Logged
It seems PSPad does not recognise the "Property Get" construct in a class construct.
Posted by: pspad | Date: 2013-08-17 11:37 | IP: IP Logged
Can you send me some source code example please?
Posted by: clanman | Date: 2013-08-20 09:15 | IP: IP Logged
see sample below
Class employeeclass
Private m_first
Private m_last
Private m_salary
Public Property Get first
first = m_first
End Property
Public Property Let first(value)
m_first = value
End Property
Public Property Set first(Value)
set m_salary = value
End Property
Public sub List(value)
Wscript.echo value
end sub
Public Function Combine(First, Last)
Combine = trim(First) & " " & trim(last)
end function
End Class
The code explorer finds everything except the Get Property.
Posted by: pspad | Date: 2013-09-20 16:17 | IP: IP Logged
Hello
Code parser for VB script has been fixed. Fixed version will be available as new developer build in PSPad developer forum
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR