You are here: PSPad forum > Bug report / Hlášení chyb > Code explorer window for COBOL missing some paragraph names

Code explorer window for COBOL missing some paragraph names

#1 Code explorer window for COBOL missing some paragraph names

Posted by: mdn8rdr | Date: 2018-12-06 18:36 | IP: IP Logged

It appears that if a paragraph name starts with certain reserved words, it is not recognized as a paragraph name.

Examples not appearing in Code Explorer:
END-OF-JOB.

CONTINUE-HERE.

Examples appearing in Code Explorer:
ENX-OF-JOB.

XONTINUE-HERE.

I am running 5.0.0 (277)

Thanks!

Options: Reply | Quote | Up ^


#2 Re: Code explorer window for COBOL missing some paragraph names

Posted by: Gabriel_ACE | Date: 2018-12-14 17:48 | IP: IP Logged

wow! I never see thats O_O

Options: Reply | Quote | Up ^


#3 Re: Code explorer window for COBOL missing some paragraph names

Posted by: pspad | Date: 2018-12-15 15:06 | IP: IP Logged

mdn8rdr:
It appears that if a paragraph name starts with certain reserved words, it is not recognized as a paragraph name.

Examples not appearing in Code Explorer:
END-OF-JOB.

CONTINUE-HERE.

Examples appearing in Code Explorer:
ENX-OF-JOB.

XONTINUE-HERE.

I am running 5.0.0 (277)

Thanks!

I need to recognize end of the section. END-OF- CONTINUE-
I know you don't want to see in code explorer end of the section. But how can I recognize it when you misspeled it?
It's not a problem of the PSPad, but it's problem in source code

Options: Reply | Quote | Up ^


#4 Re: Code explorer window for COBOL missing some paragraph names

Posted by: Gabriel_ACE | Date: 2018-12-17 13:25 | IP: IP Logged

pspad:
mdn8rdr:
It appears that if a paragraph name starts with certain reserved words, it is not recognized as a paragraph name.

Examples not appearing in Code Explorer:
END-OF-JOB.

CONTINUE-HERE.

Examples appearing in Code Explorer:
ENX-OF-JOB.

XONTINUE-HERE.

I am running 5.0.0 (277)

Thanks!

I need to recognize end of the section. END-OF- CONTINUE-
I know you don't want to see in code explorer end of the section. But how can I recognize it when you misspeled it?
It's not a problem of the PSPad, but it's problem in source code

cases 1:

only by colum position..... if the source code use standar colum position (colum a , b)

perform use dot (".") , like

*---------------------------------------------
continue.
*----------

continue-exit. exit.
*---------------------------------------------

case 2:

continue it is used on this context

if A
continue
else
do something
end-if

the word is clear, without more characters

I never see for example

if A
continue.

thats doesn't have logic

Best Regards!

Options: Reply | Quote | Up ^


#5 Re: Code explorer window for COBOL missing some paragraph names

Posted by: pspad | Date: 2018-12-17 13:48 | IP: IP Logged

Hello

Forum destroys source code indentation.
Can you send me some source sample to mail with description whats wrong?
I am not Cobol programmer.

Options: Reply | Quote | Up ^


#6 Re: Code explorer window for COBOL missing some paragraph names

Posted by: Gabriel_ACE | Date: 2018-12-17 15:49 | IP: IP Logged

pspad:
Hello

Forum destroys source code indentation.
Can you send me some source sample to mail with description whats wrong?
I am not Cobol programmer.

DONE!

Options: Reply | Quote | Up ^


#7 Re: Code explorer window for COBOL missing some paragraph names

Posted by: pspad | Date: 2018-12-17 18:01 | IP: IP Logged

Gabriel_ACE:
pspad:
Hello

Forum destroys source code indentation.
Can you send me some source sample to mail with description whats wrong?
I am not Cobol programmer.

DONE!

As mail attachment please. Mail body destrois it too.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR