You are here: PSPad forum > English discussion forum > Re: Code Explorer and vbscript class Property Get code blocks

Re: Code Explorer and vbscript class Property Get code blocks

#1 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.

Options: Reply | Quote | Up ^


#2 Re: Code Explorer and vbscript class Property Get code blocks

Posted by: pspad | Date: 2013-08-17 11:37 | IP: IP Logged

Can you send me some source code example please?

Options: Reply | Quote | Up ^


#3 Re: Code Explorer and vbscript class Property Get code blocks

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.

Options: Reply | Quote | Up ^


#4 Re: Code Explorer and vbscript class Property Get code blocks

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

Options: Reply | Quote | Up ^






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