C3D.par_exists

Previous  Next

 

nStatus = C3D.par_exists( Fid        AS HANDLE,

                          strParName AS STRING ) AS BOOLEAN

 


 

Returns TRUE if specified parameter exists otherwise the function returns FALSE.

 

Example:

 

IF C3D.par_exists( hFID, "POINT:LABEL" ) THEN

  FOR i = 1 TO nPoints

     PRINT "Point[";i;"] = ";C3D.GET_PAR_VALUE( hFid, "POINT:LABELS", i, 0, 0 ),

  NEXT i

ELSE

  FOR i = 1 TO nPoints

     PRINT "Point[";i;"] = ???"

  NEXT i

ENDIF