You are here: PSPad forum > English discussion forum > limit to number of functions/subroutines in code explorer?

limit to number of functions/subroutines in code explorer?

#1 limit to number of functions/subroutines in code explorer?

Posted by: KennyT | Date: 2012-12-29 10:12 | IP: IP Logged

Hi,

Is there a limit to the number of functions/subroutines that can be listed in the code explorer window? I have a source file (Fortran) with about 240 functions/subroutines and the code explorer window doesn't list all of them.

TIA

edit: Correction, it's not recognising "integer*4 function" as a function declaration, if I change it to "integer function" it works...

K

Edited 1 time(s). Last edit at 2012-12-29 10:31 by KennyT.

Options: Reply | Quote | Up ^


#2 Re: limit to number of functions/subroutines in code explorer?

Posted by: pspad | Date: 2012-12-29 10:50 | IP: IP Logged

You are right. There are regular expressions for functions declaration. If code explorer doesn't recognize it, send me please some source samples.

Options: Reply | Quote | Up ^


#3 Re: limit to number of functions/subroutines in code explorer?

Posted by: KennyT | Date: 2012-12-30 14:36 | IP: IP Logged

Here ya go!

tks.
!ftn95$free

INTEGER*1 FUNCTION ITEST1()
ITEST1 = 1
END

INTEGER*2 FUNCTION ITEST2()
ITEST2 = 1
END

INTEGER*4 FUNCTION ITEST4()
ITEST4 = 1
END

INTEGER*8 FUNCTION ITEST8()
ITEST8 = 1
END

INTEGER FUNCTION ITEST()
ITEST = 1
END

REAL FUNCTION RTEST()
RTEST = 1.0
END

REAL*4 FUNCTION RTEST4()
RTEST4 = 1.0
END

REAL*8 FUNCTION RTEST8()
RTEST8 = 1.0
END

CHARACTER FUNCTION CTEST()
CTEST = " "
END

CHARACTER*16 FUNCTION CTEST16()
CTEST16 = " "
END

CHARACTER*(*) FUNCTION CTESTSTAR()
CTESTSTAR = " "

END

LOGICAL FUNCTION LTEST()
LTEST = .TRUE.
END

LOGICAL*1 FUNCTION LTEST1()
LTEST1 = .TRUE.
END

LOGICAL*2 FUNCTION LTEST2()
LTEST2 = .TRUE.
END

LOGICAL*4 FUNCTION LTEST4()
LTEST4 = .TRUE.
END

COMPLEX FUNCTION ETEST()
ETEST = (1.0,1.0)
END

COMPLEX*8 FUNCTION ETEST8()
ETEST8 = (1.0D0,1.0D0)
END

the "vanilla" functions are recognised (eg ITEST) but not the others (eg ITEST8)

K

Edited 1 time(s). Last edit at 2012-12-30 14:37 by KennyT.

Options: Reply | Quote | Up ^


#4 Re: limit to number of functions/subroutines in code explorer?

Posted by: KennyT | Date: 2013-05-28 08:15 | IP: IP Logged

Hi Jan,

any news on this issue?

K

Options: Reply | Quote | Up ^


#5 Re: limit to number of functions/subroutines in code explorer?

Posted by: pspad | Date: 2013-05-28 12:32 | IP: IP Logged

Fix will be available in the next build.
There is no limit on function count, but the asterisk in function name caused the function wasn't recognized

Options: Reply | Quote | Up ^


#6 Re: limit to number of functions/subroutines in code explorer?

Posted by: KennyT | Date: 2013-05-28 18:54 | IP: IP Logged

pspad:
Fix will be available in the next build.
There is no limit on function count, but the asterisk in function name caused the function wasn't recognized

thnks.

K

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