Difference between revisions of "GetPhoneNumber"

From Catglobe Wiki
Jump to: navigation, search
(getPhoneNumber)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

+
{{HelpFiles}}
  
 
====getPhoneNumber====
 
====getPhoneNumber====
Line 14: Line 14:
 
''phoneNumber_type'': Is a numeric (non-decimal) expression. It must be one of the built-in constants:
 
''phoneNumber_type'': Is a numeric (non-decimal) expression. It must be one of the built-in constants:
  
PhoneNumber_Type_NotIdentified, PhoneNumber_Type_Home1, PhoneNumber_Type_Home2, PhoneNumber_Type_Mobile1, PhoneNumber_Type_Mobile2, PhoneNumber_Type_Business1, PhoneNumber_Type_Business2, PhoneNumber_Type_HomeFax,     PhoneNumber_Type_BusinessFax, PhoneNumber_Type_Main1, PhoneNumber_Type_Main2, PhoneNumber_Type_Fax1, PhoneNumber_Type_Fax2
+
**PhoneNumber_Type_NotIdentified
 +
**PhoneNumber_Type_Home1
 +
**PhoneNumber_Type_Home2
 +
**PhoneNumber_Type_Mobile1
 +
**PhoneNumber_Type_Mobile2
 +
**PhoneNumber_Type_Business1
 +
**PhoneNumber_Type_Business2
 +
**PhoneNumber_Type_HomeFax
 +
**PhoneNumber_Type_BusinessFax
 +
**PhoneNumber_Type_Main1
 +
**PhoneNumber_Type_Main2
 +
**PhoneNumber_Type_Fax1
 +
**PhoneNumber_Type_Fax2
  
 
'''Return type'''
 
'''Return type'''
Line 24: Line 36:
 
string phone = getPhoneNumber(PhoneNumber_Type_Home1);
 
string phone = getPhoneNumber(PhoneNumber_Type_Home1);
  
//"358-8212277
+
''//"358-8212277"''
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 10:04, 29 May 2012



getPhoneNumber

Gets the phone number of the current questionnaire answer sheet’s user

Syntax

getPhoneNumber(phoneNumber_type)

Arguments

phoneNumber_type: Is a numeric (non-decimal) expression. It must be one of the built-in constants:

    • PhoneNumber_Type_NotIdentified
    • PhoneNumber_Type_Home1
    • PhoneNumber_Type_Home2
    • PhoneNumber_Type_Mobile1
    • PhoneNumber_Type_Mobile2
    • PhoneNumber_Type_Business1
    • PhoneNumber_Type_Business2
    • PhoneNumber_Type_HomeFax
    • PhoneNumber_Type_BusinessFax
    • PhoneNumber_Type_Main1
    • PhoneNumber_Type_Main2
    • PhoneNumber_Type_Fax1
    • PhoneNumber_Type_Fax2

Return type

string

Examples

string phone = getPhoneNumber(PhoneNumber_Type_Home1);

//"358-8212277"

Availability

Version 4.8