TrustedUser
2,147
edits
m (→Syntax) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
{{AGIWiki}} | {{AGIWiki}} | ||
{{AGIWiki/Object and View commands}} | |||
The '''discard.view''' command removes a [[AGIWiki/View|view resource]] from memory. There is an [[AGIWiki/Indirect command|indirect]] version of this command called '''[[AGIWiki/discard.view.v|discard.view.v]]'''. | The '''discard.view''' command removes a [[AGIWiki/View|view resource]] from memory. There is an [[AGIWiki/Indirect command|indirect]] version of this command called '''[[AGIWiki/discard.view.v|discard.view.v]]'''. | ||
Line 36: | Line 37: | ||
The following example uses <code>discard.view</code> to remove view 203 from memory: | The following example uses <code>discard.view</code> to remove view 203 from memory: | ||
< | <syntaxhighlight lang="cpp"> | ||
load.view(203); | load.view(203); | ||
discard.view(203); | discard.view(203); | ||
</ | </syntaxhighlight> | ||
== Technical Information == | == Technical Information == | ||
Line 55: | Line 56: | ||
* [[AGIWiki/discard.view.v|discard.view.v]] | * [[AGIWiki/discard.view.v|discard.view.v]] | ||
* [[AGIWiki/load.view|load.view]] | * [[AGIWiki/load.view|load.view]] | ||
* [[AGIWiki/load.view | * [[AGIWiki/load.view|load.view.v]] | ||
== Sources == | == Sources == |