UnbindImage (Stringlist subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
mNo edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Stringlist:UnbindImage subtitle}}
{{Template:Stringlist:UnbindImage subtitle}}


This method disassociates or unbinds an image from a <var>Stringlist</var>. <var>UnbindImage</var> accepts no arguments and does not return anything.
==Syntax==
==Syntax==
{{Template:Stringlist:UnbindImage syntax}}
{{Template:Stringlist:UnbindImage syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntax">
<table class="syntaxTable">
<tr><th>sl</th>
<tr><th>sl</th>
<td>Stringlist object</td></tr>
<td>A <var>Stringlist</var> object.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<li><var>UnbindImage</var> undoes the binding created by <var>[[BindImage (Stringlist subroutine)|BindImage]]</var>.
</ul>
==Examples==
==Examples==
[[Category:Stringlist methods|UnbindImage subroutine]]
The following example illustrates the use of <var>UnbindImage</var> after a <var>BindImage</var>:
<p class="code">%list is object stringList
image customer
  id    is string len 8
  lname  is string len 32
end image
%list = new
%list:bindImage('CUSTOMER')
...
%list:unbindImage
</p>
 
==See also==
{{Template:Stringlist:UnbindImage footer}}

Latest revision as of 00:53, 1 November 2012

Disassociate a Stringlist from an image (Stringlist class)


This method disassociates or unbinds an image from a Stringlist. UnbindImage accepts no arguments and does not return anything.

Syntax

sl:UnbindImage

Syntax terms

sl A Stringlist object.

Usage notes

  • UnbindImage undoes the binding created by BindImage.

Examples

The following example illustrates the use of UnbindImage after a BindImage:

%list is object stringList image customer id is string len 8 lname is string len 32 end image %list = new %list:bindImage('CUSTOMER') ... %list:unbindImage

See also