Changeset 303 for trunk/Include/system/string.sbp
- Timestamp:
- Aug 24, 2007, 11:14:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/system/string.sbp
r272 r303 5 5 #define _INC_BASIC_STRING 6 6 7 #require <Classes/System/String.ab> 8 #require <Classes/System/Text/StringBuilder.ab> 9 7 10 Function StrPtr(s As String) As *StrChar 8 11 StrPtr = s.StrPtr 9 12 End Function 10 11 Function ZeroString(length As Long) As String 12 Return New String(0 As StrChar, length) 13 'StringBuilder版はClasses/System/Text/StringBuilder.abに定義されている 14 15 Function ZeroString(length As Long) As System.Text.StringBuilder 16 ZeroString = New System.Text.StringBuilder 17 ZeroString.Length = length 13 18 End Function 14 19
Note:
See TracChangeset
for help on using the changeset viewer.