GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BLT_TREEEXISTS (3)

NAME

Blt_TreeExists - Indicates if a tree exists.

CONTENTS

Synopsis
Arguments
Description
Returns
Example
Keywords

SYNOPSIS

#include <bltTree.h>

int Blt_TreeExists(interp, name)

ARGUMENTS


.TP 15 Tcl_Interp*interp(in)
Tcl_Interp*interp Tcl_Interp Interpreter to determine current namespace context.
.TP 15 const char*name(in)
const char*name const char Name of an existing tree data object. Can be qualified by a namespace.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

This procedure determines if a C-based tree data object exists by a given name. The arguments are as follows:
interp Used the determine the current namespace context.
name Name of an existing tree data object. Name can be qualified by a namespace such as fred::myTree. If no namespace qualifier is used, the current namespace is searched, then the global namespace.

RETURNS

A boolean result is returned. If the tree exists 1 is returned, 0 otherwise.

EXAMPLE

The following example checks if a tree "myTree" exists.



if (!Blt_TreeExists(interp, "myTree")) { fprintf(stderr, "can’t find tree \"myTree\\n"); }

KEYWORDS

tree, token Tcl_TreeCreate, Tcl_TreeGetToken, Tcl_TreeReleaseToken
Search for    or go to Top of page |  Section 3 |  Main Index


BLT BLT_TREEEXISTS (3) 2.5

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.