This wiki is out of date, use the continuation of this wiki instead

Delete text

From FenixWiki

Revision as of 09:35, 7 August 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


Contents

Definition

INT delete_text( <INT TextID> )

Deletes text from the screen.

Parameters

INT TextID - TextID of the text to be deleted.

Returns

<If someone knows, please edit!>

Notes

Delete_text(all_text) or delete_text(0) deletes all text from the screen!

Errors

<If someone knows, please edit!>

Example

Program test;
Global
    My_text;
Begin
    My_text=write(0,320/2,200/2,4,"Press space to delete this.");
    Loop
        If (key(_space))
            Delete_text(My_text);
        End
        Frame;
    End
End

Used in example: write(), key()

This will result in something like:
Image:delete_text.jpg

Personal tools