Skip to content

Commit dc6cfea

Browse files
committed
Add acknowledgement
1 parent c4a6468 commit dc6cfea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

VBScript/02_Upfront_Encapsulated_Code_With_No_Dependencies/TestObjectIsStringGUID.vbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Function TestObjectIsStringGUID(ByRef boolResult, ByVal objToTest)
1313
'
1414
' The function returns 0 if the test was successful, a negative integer otherwise.
1515
'
16+
' Note: this function requires VBScript 5.0 or later, which is included with
17+
' Internet Explorer 5.0 or later, Windows Scripting Host 2.0 or later, and Windows
18+
' 2000 or later.
19+
'
1620
' Example 1:
1721
' objToTest = "8589D070-619D-41FB-9D93-D6F50F6AD99D"
1822
' intReturnCode = TestObjectIsStringGUID(boolResult, objToTest)
@@ -101,6 +105,12 @@ Function TestObjectIsStringGUID(ByRef boolResult, ByVal objToTest)
101105
' repository at https://github.com/franklesniak/sysadmin-accelerator
102106
'endregion DownloadLocationNotice #################################################
103107

108+
'region Acknowledgements #######################################################
109+
' Thanks to Gunter Born for covering RegExp in "Microsoft Windows Scripting Host
110+
' 2.0 Developer's Guide", which indicated that RegExp requries VBScript 5.0 or
111+
' newer and saved me some time.
112+
'endregion Acknowledgements #######################################################
113+
104114
'region DependsOn ##############################################################
105115
' TestObjectIsStringContainingData()
106116
'endregion DependsOn ##############################################################

0 commit comments

Comments
 (0)