Remove

From Sim Innovations Wiki
Revision as of 09:27, 15 November 2018 by Admin (talk | contribs) (Created page with "== 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 afte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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!