Ignore:
Timestamp:
Aug 24, 2007, 11:14:46 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

フルコンパイルでのミスあぶり出し。註:修正は全て@300や@301以前に行われた。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/system/string.sbp

    r272 r303  
    55#define _INC_BASIC_STRING
    66
     7#require <Classes/System/String.ab>
     8#require <Classes/System/Text/StringBuilder.ab>
     9
    710Function StrPtr(s As String) As *StrChar
    811    StrPtr = s.StrPtr
    912End 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
     15Function ZeroString(length As Long) As System.Text.StringBuilder
     16    ZeroString = New System.Text.StringBuilder
     17    ZeroString.Length = length
    1318End Function
    1419
Note: See TracChangeset for help on using the changeset viewer.