Navigation: Scripting Reference Manual > Functions & Subroutines > FindGroup

 

FindGroup

 

Contact Us: fredsupport@photonengr.com

 

Description

Finds a Group with the specified name in the FRED document.

 

Syntax

n = FindGroup ( gname )

 

Parameters

n (Long)

Node number of found group.

 

gname As String

The name of the group to be found.

 

Remarks

This function finds a Group with a specified name in the FRED document. If no such group is found the function returns -1. If there is an error, the function does not set an error and returns 0. The function ignores whitespace at the beginning and end of gname.

 

See Also

GetGroupCount

GetNthGroupCount

AddGroup

AddToNthGroup

DeleteFromNthGroup

GetFromNthGroup

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC