Skip to content

Commit

Permalink
Added macro FW that jumps to the WORKING-STORAGE SECION of the curren…
Browse files Browse the repository at this point in the history
…t COBOL file.
  • Loading branch information
Michael Knigge committed Oct 20, 2022
1 parent 4154b9d commit 984f7f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions macros/fw.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
void fw(void)
{
SpfService("cmd", "FIND 'WORKING-STORAGE 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 984f7f2

Please sign in to comment.