Difference between revisions of "Group getGroupByName"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[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 08: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