Malfunction in UEStudio

Malfunction in UEStudio

Postby Maurizio » 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
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Mon Sep 15, 2008 1: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
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Postby Otto » Mon Sep 15, 2008 2: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
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 77 guests