Changeset 478 for trunk/Include/Classes
- Timestamp:
- Mar 13, 2008, 9:06:43 PM (17 years ago)
- Location:
- trunk/Include/Classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/ActiveBasic/Strings/Strings.ab
r457 r478 1 1 'Classes/ActiveBasic/Strings/Strings.ab 2 3 #ifndef __ACTIVEBASIC_STRINGS_STRINGS_AB__4 #define __ACTIVEBASIC_STRINGS_STRINGS_AB__5 6 #require <Classes/System/Math.ab>7 #require <Classes/System/Collections/ArrayList.ab>8 2 9 3 Namespace ActiveBasic … … 220 214 End Namespace 'ActiveBasic 221 215 222 #endif '__ACTIVEBASIC_STRINGS_STRINGS_AB__ -
trunk/Include/Classes/System/String.ab
r468 r478 256 256 257 257 Override Function Equals(s As Object) As Boolean 258 If Object.Equals( This.GetType(), s.GetType() ) Then 259 Return This.Equals(s As String) 258 If Not ActiveBasic.IsNothing(s) Then 259 If Object.Equals(This.GetType(), s.GetType()) Then 260 Return This.Equals(s As String) 261 End If 260 262 End If 261 263 Return False
Note:
See TracChangeset
for help on using the changeset viewer.