Skip to content

Commit

Permalink
Added macro COBNEXT and COBPREV that jumps to the next/previous COBOL…
Browse files Browse the repository at this point in the history
… paragraph.
  • Loading branch information
Michael Knigge committed Oct 20, 2022
1 parent 50ab160 commit 68bdc10
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions macros/cobnext.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
void cobnext(void)
{
spfservice("cmd", "FIND QUIET p'@' 8 NEXT");
spfservice("cmd", "RESET FIND");
spfservice("cmd", "RECOLOR");
}
6 changes: 6 additions & 0 deletions macros/cobprev.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
void cobprev(void)
{
spfservice("cmd", "FIND QUIET p'@' 8 PREV");
spfservice("cmd", "RESET FIND");
spfservice("cmd", "RECOLOR");
}

0 comments on commit 68bdc10

Please sign in to comment.