You are here: PSPad forum > Bug report / Hlášení chyb > PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER
Posted by: Gabriel_ACE | Date: 2019-02-04 20:18 | IP: IP Logged
Hi!
pspad has a color bug.... the word SERVICE y ALL CASE must be en GREEN
because it is a perform's name (like 2110-MODIFICAR OR 2000-PROCESO-EXIT)
this is the CODE EXAMPLE
BEST REGARDS
Posted by: Gabriel_ACE | Date: 2019-02-05 20:44 | IP: IP Logged
nothing? :-S
Posted by: pspad | Date: 2019-02-05 20:53 | IP: IP Logged
I will fix it. Enough?
Posted by: pspad | Date: 2019-02-06 16:17 | IP: IP Logged
Send me sample source code. I want to be sure I have correct amount of spaces e.t.c.
I am not Cobol programmer
Posted by: Gabriel_ACE | Date: 2019-02-07 15:59 | IP: IP Logged
pspad:Send me sample source code. I want to be sure I have correct amount of spaces e.t.c.
I am not Cobol programmer
DONE!
when I was doing thats I realize thats COBOL HIGHLIGHTER have alot of bug
talking about PERFORM
in the example that I send to you there is error on
3000-END
1000-START
3000-PROCESS
in all cases the color are RED but need to be GREEN (like SERVICE )
this hapen when I used reserverd word in the PERFORMS's names
Posted by: Gabriel_ACE | Date: 2019-02-07 16:24 | IP: IP Logged
the are a lot of error in the last bug fix (295)
SORRY for bring bads news
I will show you a correct example for PERFORM section:
Posted by: pspad | Date: 2019-02-07 18:20 | IP: IP Logged
You wrote you use reserved words as "perform" names. What does perform name means?
Why do you use reserved keywords as something else than it should be?
Posted by: Gabriel_ACE | Date: 2019-02-07 20:32 | IP: IP Logged
I usually do not use reserved words in those places. I realized this possibility when I read it in another forum thread about that. At that time I did a test and found these errors.
"perform" can have any kind of written text
The examples that I send to you are perfectly valid when compiling the code
when you use PERFORM xxxx
the computer jump thru another place in the source code, do all inside it and then
go back and continue execution (it 's something like "GO TO" in VISUAL BASIC, the only diferent is the GO BACK when finish to execute intruction into perform xxxxx)
I leave it to your discretion to do the update in PSPAD to consider this possibility
Again sorry for the bad news
You always do excelent work and PSPAD is the best cobol editor actually
Edited 1 time(s). Last edit at 2019-02-07 20:36 by Gabriel_ACE.
Posted by: Gabriel_ACE | Date: 2019-02-14 14:29 | IP: IP Logged
what do you think?
there are any chance thats you can fix it?
Posted by: pspad | Date: 2019-02-14 14:40 | IP: IP Logged
Yes, but I need some time for it.
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