Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_b_name( <nid> | <hid> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_B_NAME( <nId> | <hId> )


Parameters

<nId>
Bindery ID of object in numeric form.

<hId>
Bindery ID of object as a hexadecimal string.


Returns

Name of the specified bindery object.

If the specified ID is invalid, a null string ("") is returned.


Description

The argument is the bindery ID for the object, passed in either numeric 
form or as a hexadecimal string.

If a hexadecimal string is passed, the string must have 0-9 as the 
first digit or be prefixed with 0. That is,

N_B_NAME('C000008')   // not OK
N_B_NAME('0C000008')  // OK

The bindery ID is analogous to the object's record pointer in the 
bindery and has no relation to the object's Internet address.


Example

// Find out who owns a mailbox directory.
cMailDir = 'D000003'
nID = PADL(cMailDir, 8, '0')
? 'Mail directory: ' + cMailDir + '  Owner: ' + N_B_NAME(nID)
Mail directory: D000003  Owner: DON



See Also: N_B_ID() N_B_TYPE()

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