Remove
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Description
remove(node_id)
remove is used to remove a node object. The object will be removed from the system. You cannot access the node_id anymore after the remove function has been called!
Return value
This function won't return a value.
Arguments
# | Argument | Type | Description |
---|---|---|---|
1 | node_id | ID | Node identifier. This number can be obtained by calling functions like img_add, txt_add or canvas_add. |
Example
-- Load and display text and images
myimage1 = img_add_fullscreen("myimage1.png")
-- And remove it again...
remove(myimage1)
-- Make sure to NEVER access the myimage1 anymore at this point!