<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fdelete</id>
		<title>IB Statements/delete - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fdelete"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/delete&amp;action=history"/>
		<updated>2026-05-18T17:28:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/delete&amp;diff=766&amp;oldid=prev</id>
		<title>Barb at 22:21, 28 May 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/delete&amp;diff=766&amp;oldid=prev"/>
				<updated>2009-05-28T22:21:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:21, 28 May 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''DELETE statement''' &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''DELETE statement''' &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Syntax:'''&amp;nbsp; DELETE (lun) KEY=index [,EXCP=statement-label]&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Syntax:'''&amp;nbsp; DELETE (lun) KEY=index [,EXCP=statement-label &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;| NOEXCP&lt;/ins&gt;]&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Discussion:'''&amp;nbsp; The DELETE statement deletes an existing record from a keyed file. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Discussion:'''&amp;nbsp; The DELETE statement deletes an existing record from a keyed file. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:350:newid:766 --&gt;
&lt;/table&gt;</summary>
		<author><name>Barb</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/delete&amp;diff=350&amp;oldid=prev</id>
		<title>Badge: New page: '''DELETE statement'''   '''Syntax:'''  DELETE (lun) KEY=index [,EXCP=statement-label]    '''Discussion:'''  The DELETE statement deletes an existing record from a keyed file.   The parame...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/delete&amp;diff=350&amp;oldid=prev"/>
				<updated>2009-05-20T10:39:56Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;DELETE statement&amp;#39;&amp;#39;&amp;#39;   &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;  DELETE (lun) KEY=index [,EXCP=statement-label]    &amp;#39;&amp;#39;&amp;#39;Discussion:&amp;#39;&amp;#39;&amp;#39;  The DELETE statement deletes an existing record from a keyed file.   The parame...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''DELETE statement''' &lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''  DELETE (lun) KEY=index [,EXCP=statement-label]  &lt;br /&gt;
&lt;br /&gt;
'''Discussion:'''  The DELETE statement deletes an existing record from a keyed file. &lt;br /&gt;
&lt;br /&gt;
The parameter defines which file the record being deleted from (i.e., the file opened under that lun in a previous OPEN statement). &lt;br /&gt;
&lt;br /&gt;
The index parameter defines the index and associated record being deleted. The index may be a string constant, a single-element string variable, a string array element, a string expression, or a string function. &lt;br /&gt;
&lt;br /&gt;
When the DELETE statement is executed, it automatically advances the file pointer to the next available record in sequential (key) order, marks the record for deletion, and removes the specified key from the key list. &lt;br /&gt;
 &lt;br /&gt;
'''Example 1:'''  DELETE (3) KEY=&amp;quot;ABC-123&amp;quot;,EXCP=5000&lt;br /&gt;
&lt;br /&gt;
In this example, a record is deleted from the file opened on logical unit number 3. The key containing &amp;quot;ABC-123&amp;quot; specifies the record to be deleted from the file. If an exception occurs when this statement is executed (e.g., if the key doesn't exist in the file), the program will branch to statement-label 5000.  &lt;br /&gt;
&lt;br /&gt;
'''Example 2:'''  OPEN (1) &amp;quot;DATAFILE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
PRINT (0) &amp;quot;ENTER KEY TO DELETE:&amp;quot;&lt;br /&gt;
&lt;br /&gt;
INPUT (0) KEYVALUE$&lt;br /&gt;
&lt;br /&gt;
DELETE (1) KEY=KEYVALUE$,EXCP=9999&lt;br /&gt;
&lt;br /&gt;
In this example, the user is prompted for a specific key value. The response is then used to determine which key and record will be deleted from the file opened on logical unit number 1.&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>