Changeset 132 for Include/basic/function.sbp
- Timestamp:
- Mar 4, 2007, 11:28:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/function.sbp
r126 r132 1137 1137 End Function 1138 1138 1139 Function _System_StrCmp(s1 As PCSTR, s2 As PCSTR) As Long 1140 Dim i = 0 As SIZE_T 1141 While s1[i] = s2[i] 1142 If s1[i] = 0 Then 1143 Exit While 1144 End If 1145 i++ 1146 Wend 1147 _System_StrCmp = s1[i] - s2[i] 1148 End Function 1149 1150 Function _System_StrCmp(s1 As PCWSTR, s2 As PCWSTR) As Long 1151 Dim i = 0 As SIZE_T 1152 While s1[i] = s2[i] 1153 If s1[i] = 0 Then 1154 Exit While 1155 End If 1156 i++ 1157 Wend 1158 _System_StrCmp = s1[i] - s2[i] 1159 End Function 1139 1160 #endif '_INC_FUNCTION
Note:
See TracChangeset
for help on using the changeset viewer.