Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>addatom()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
AddAtom()
Add an atom to the application's atom table
------------------------------------------------------------------------------

Syntax
AddAtom( <cName> )   -->   hAtom

Arguments
<cName> is the name of the atom to be added.

Returns
If successful, this function returns a handle to the atom.
This handle will be a non-zero numeric.  Otherwise, zero (0)
is returned.

Description
This function adds a string to the application's private atom
table, and returns a handle to the atom.  An atom may be any
string, excluding null characters, although you should keep
them reasonably short (to avoid consuming too much memory).

Example
local     nAtom := iif( cItem == nil, 0, AddAtom( cItem ))


See Also: DeleteAtom() FindAtom() GetAtomName() GlobalAddAtom()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson