Skip to content

Commit

Permalink
Merge pull request #28 from dehilsterlexis/VSCODE-FILES-018
Browse files Browse the repository at this point in the history
VSCODE-FILES-018 Added $isfirstfile to help
  • Loading branch information
David de Hilster authored Nov 7, 2022
2 parents 3ef92f5 + d33dc00 commit 882f1b0
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 0 deletions.
82 changes: 82 additions & 0 deletions Help/helps/$isfirstfile.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>$isfirstfile</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=514>
<meta name=layout-width content=356>
<meta name=date content="07 25, 2001 11:05:09 AM">


<!--(Links)=========================================================-->

<link REL=StyleSheet HREF=default.css>



</head>

<!--(Body)==========================================================-->


<body>

<h1>$isfirstfile</h1>

<h2>Purpose</h2>

<p>Checks to see if the current file is the first file being analzyed in a directory.</p>

<h2>Syntax</h2>

<p style="line-height: normal;
margin-bottom: 14pt;
margin-top: 14pt;
x-text-tab-stops: repeat 1in;
white-space: nowrap;
font-size: smaller;
font-family: monospace;">returnedBoolean = variableType(&quot;$isfirstfile&quot;)</p>

<p style="margin-left: 40px;
line-height: normal;
margin-bottom: 14pt;
margin-top: 14pt;
x-text-tab-stops: repeat 1in;
white-space: nowrap;
font-size: smaller;
font-family: monospace;">returnedBoolean - type: bool<br>
variableType - type: G</p>

<h2>Returns</h2>

<p>Returns 1 if the current file is the first file, 0 if not.</p>

<h2>Remarks</h2>

<h2>Example</h2>

<h2>See Also</h2>

<p><a HREF="$inputpath.htm">$inputpath</a>, <a href="NLP_PP_Stuff/Special_Variables.htm#table">Special
Variables</a></p>

<p style="margin-bottom: 0;">&nbsp; </p>

</body>

</html>
42 changes: 42 additions & 0 deletions Help/helps/NLP_PP_Stuff/Special_Variables.htm
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,48 @@ <h2><a name=table></a>Table of Special Variables</h2>
<p style="margin-bottom: 0;">Get current rule number within current pass.
<span style="color: #ff0000; font-weight: bold;">NEW 2.0.2.4</span></td></tr>

<tr>
<td colspan=1
rowspan=1
style="x-cell-content-align: TOP;
width: 18%;
padding-left: 1px;
padding-top: 1px;
padding-right: 1px;
padding-bottom: 1px;"
valign=top
width=18%>
<p style="text-align: left;
margin-bottom: 0;
font-weight: bold;"
align=left>$isfirstfile</td>
<td colspan=1
rowspan=1
style="x-cell-content-align: TOP;
width: 13%;
padding-left: 1px;
padding-top: 1px;
padding-right: 1px;
padding-bottom: 1px;"
valign=top
width=13%>
<p style="text-align: left;
margin-bottom: 0;
font-weight: bold;"
align=left>G</td>
<td colspan=1
rowspan=1
style="x-cell-content-align: TOP;
width: 48%;
padding-left: 1px;
padding-top: 1px;
padding-right: 1px;
padding-bottom: 1px;"
valign=top
width=48%>
<p style="margin-bottom: 0;">Check if is first file processed in a directory. Returns 1 if it is the first file, else 0.
<span style="color: #ff0000; font-weight: bold;">NEW 1.24.0</span></td></tr>

<tr>
<td colspan=1
rowspan=1
Expand Down

0 comments on commit 882f1b0

Please sign in to comment.