---+ .UTIL SUBR WRITE ILF _This subroutine writes ILF code to a subroutine in the Application._ <br />%TOC% ---++ Usage: <pre> PASS <ilf_verb> FIELD SHARE? N PASS <TF_flags> FIELD SHARE? N PASS <opt_fields_as_needed> FIELD SHARE? N GOSUB --- .UTIL SUBR WRITE ILF * Check for errors IF --- .UTIL SUBR WRITE ILF NE </pre> ---++ Description: This subroutine adds an ILF line to a subroutine. The <ilf_verb> and <tf_flags> parameters are required, if they are missing, the subroutine will CANCEL. <ilf_verb> is the name of the ILF statement you want to add (Required). <tf_flags> are the TF flags for the ILF statement you want to add (Required). If the statement does not normally have TF flags like a comment statement just pass blanks. <opt_fields_as_needed> are the fields that define the parameters for the statement to be created. Just pass all the field you would normally see as editable when adding the statement in left to right order. You can omit passing all blank fields past the last field you want a value in. So, to SET --- TEMP 30 to --- TEMP 80 on a TRUE you would pass. <pre> PASS SET FIELD SHARE? N PASS T FIELD SHARE? N PASS --- FIELD SHARE? N PASS TEMP 30 FIELD SHARE? N PASS --- SPACE FIELD SHARE? N PASS --- FIELD SHARE? N PASS TEMP 80 FIELD SHARE? N PASS --- SPACE FIELD SHARE? N GOSUB --- .UTIL SUBR WRITE ILF</pre> Also see <span style="text-decoration: underline;">[[0LASubrUtilSubrClose][.UTIL SUBR CLOSE]] </span>and <span style="text-decoration: underline;">[[0LASubrUtilSubrDelete][.UTIL SUBR DELETE]]</span>. Note that the .UTIL SUBR * group of routines share certain internal fields therefore you can only use them in a process family with share class SUBPROCESS. In other words, don't call .UTIL SUBR CREATE in one process, then .UTIL SUBR WRITE ILF in another process that you have invoked Related or Detached. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.PeteBrower - 2012-09-28
This topic: Main
>
WebHome
>
FullAPIList
>
0LASubrUtilSubrCreate
>
0LASubrUtilSubrWriteIlf
Topic revision: r2 - 2012-10-26 - JeffPrentice
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback