- This wiki is out of date, use the continuation of this wiki instead
Delete text
From FenixWiki
(Difference between revisions)
Revision as of 10:23, 7 August 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (23:35, 19 November 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
Line 5: | Line 5: | ||
'''INT''' delete_text ( <'''INT''' TextID> ) | '''INT''' delete_text ( <'''INT''' TextID> ) | ||
- | Deletes text from the screen. | + | Deletes a certain [[text]] from the screen. |
== Parameters == | == Parameters == |
Current revision
Contents |
[edit] Definition
INT delete_text ( <INT TextID> )
Deletes a certain text from the screen.
[edit] Parameters
INT TextID | - TextID of the text to be deleted. |
[edit] Returns
INT : true
[edit] Notes
Delete_text(ALL_TEXT) deletes all text from the screen.
[edit] Example
Program test; Global my_text; Begin my_text = write(0,320/2,200/2,4,"Press space to delete this."); Repeat if (key(_space)) if(my_text>0) delete_text(my_text); my_text = 0; end end Frame; Until(key(_esc)) End