FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Malfunction in UEStudio
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Malfunction in UEStudio
Posted: Mon Sep 15, 2008 10:10 AM

Good morning
I would like to underline this problem , about Function List
When I open a file I have the Function List correctly .
When I add the file to the project the function list changes and
the functions are duplicated in the list .

This is my wordfile
/Function String 1 = "%[CLASS]+CLASS"
/Function String 2 = "%[METHOD]+METHOD"
/Function String 3 = "%[PROCEDURE]+PROCEDURE"
/Function String 4 = "%[FUNCTION]+FUNCTION"

Regards Maurizio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Malfunction in UEStudio
Posted: Mon Sep 15, 2008 10:50 AM

Maurizio,

Why do you use ...+<same previous token> ?

Try it without +...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Malfunction in UEStudio
Posted: Mon Sep 15, 2008 01:05 PM

Antonio

I try it without + but I have the same problem .

Thid is the PRG
function Main()
local o := TTest():New( "one", "two" )
return nil
//--------------------------------------------------------------------//

CLASS Test INHERIT TParent
METHOD New( One, Two )
METHOD Test() INLINE QOut( "Hello" )
ENDCLASS
//--------------------------------------------------------------------//

METHOD New( One, Two ) CLASS TTest
.......................
return Self
//--------------------------------------------------------------------//

METHOD Test( One, Two ) CLASS TTest
.......................
return Self

The file List Before add in the project
CLASS Test()
METHOD New (One, Two) CLASS Ttest()
METHOD Test (One, Two) CLASS Ttest()

The File List After add in the project

Main ()
New ()
New (One, Two)
Test ()
New (One, Two)

Regards MAurizio

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Malfunction in UEStudio
Posted: Mon Sep 15, 2008 02:57 PM

Hello Maurizio,
I think UEStudio is searching for method xxx and as you declare the Method also the declaration is found.
I thought this is a feature. What I noticed is that first the METHOD is found and then the declaration.
Regards,
Otto

Continue the discussion