Skip to content

Commit

Permalink
Added macro FL that jumps to the LINKAGE SECION of the current COBOL …
Browse files Browse the repository at this point in the history
…file.
  • Loading branch information
Michael Knigge committed Oct 20, 2022
1 parent 68bdc10 commit dd842d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions macros/fl.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
void fl(void)
{
SpfService("cmd", "FIND 'LINKAGE SECTION' 8 FIRST QUIET");

if(SpfService("query", "find_string_count", NULL) == 0)
return;

SpfService("cmd", "DOWN");
SpfService("cmd", "RESET FIND");
SpfService("cmd", "RECOLOR");
SpfService("cmd", "CURSOR");
}

0 comments on commit dd842d1

Please sign in to comment.