UnbindImage (Stringlist subroutine): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (syntax diagram, tags and links) |
||
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> | 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}} | ||
Line 11: | Line 11: | ||
==Usage notes== | ==Usage notes== | ||
<var>UnbindImage</var> undoes the binding created by | <var>UnbindImage</var> undoes the binding created by <var>[[BindImage (Stringlist subroutine)|BindImage]]</var>. | ||
==Examples== | ==Examples== | ||
The following example illustrates the use of <var>UnbindImage</var> after a <var>BindImage</var>: | <ol><li>The following example illustrates the use of <var>UnbindImage</var> after a <var>BindImage</var>: | ||
<p class="code">%list is object stringList | <p class="code">%list is object stringList | ||
... | ... | ||
image customer | image customer | ||
id is string len 8 | id is string len 8 | ||
lname is string len 32 | lname is string len 32 | ||
end image | end image | ||
... | ... | ||
%list = new | %list = new | ||
%list:bindImage('CUSTOMER') | %list:bindImage('CUSTOMER') | ||
... | ... | ||
%list:unbindImage | %list:unbindImage | ||
</p> | </p></ol> | ||
==See also== | ==See also== | ||
{{Template:Stringlist:UnbindImage footer}} | {{Template:Stringlist:UnbindImage footer}} |
Revision as of 00:51, 28 January 2011
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 | 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