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

Delete text

From FenixWiki

(Difference between revisions)
Jump to: navigation, search

Revision as of 18:17, 23 July 2007


Contents

Definition

INT delete_text( <INT TextID> )

Deletes text from the screen.

Parameters

INT TextID - Identifier of the text you want to delete. This identifier should have been appointed to a text earlier on.

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