Difference between revisions of "Group getGroupByName"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Group_Functions]]
 
[[Category:Group_Functions]]

+
{{HelpFiles}}
  
 
====Group_getGroupByName====
 
====Group_getGroupByName====
Line 21: Line 21:
  
 
''array group = Group_getGroupByName("My project\\My group");''
 
''array group = Group_getGroupByName("My project\\My group");''
 +
 +
''print(group));''
 +
 +
//{6,37264371,My group,34409956,37259764,True,0,False,Empty,Empty,Empty,Empty,Empty,Empty,Empty,{}}
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 07:55, 26 December 2011



Group_getGroupByName

Get a group by its qualified name. If no group is found with that name, empty will be returned.

Syntax

Group_getGroupByName(qualifiedName)

Arguments

  • qualifiedName: is a string expression. It is the group's qualified name

Return value

An array, it is the group object which has the same format as what is generated by Group_new function

Example

array group = Group_getGroupByName("My project\\My group");

print(group));

//{6,37264371,My group,34409956,37259764,True,0,False,Empty,Empty,Empty,Empty,Empty,Empty,Empty,{}}

Availability

Version 5.6