Ignore:
Timestamp:
Nov 17, 2007, 9:34:36 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

SPrintf関数の実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/String.ab

    r370 r383  
    66
    77#ifdef __STRING_IS_NOT_ALWAYS_UNICODE
     8
     9#ifndef UNICODE
    810TypeDef StrChar = Char
    9 #ifndef UNICODE
    1011#define __STRING_IS_NOT_UNICODE
    1112#endif
     13
     14#endif
     15
     16#ifndef __STRING_IS_NOT_UNICODE
     17TypeDef StrChar = WCHAR
     18
     19#ifdef UNICODE
     20#define __STRING_IS_UNICODE
    1221#else
    13 TypeDef StrChar = WCHAR
    14 #ifndef UNICODE
    1522#define __STRING_UNICODE_WINDOWS_ANSI
    1623#endif
     
    7784            Assign(initStr + start, length)
    7885        End Sub
    79        
     86
    8087        Sub String(initStr As String)
    8188            If Not String.IsNullOrEmpty(initStr) Then
     
    592599            End If
    593600        End Sub
    594        
     601
    595602        Const Sub rangeCheck(start As Long, length As Long)
    596603            If start < 0 Or start > This.m_Length Or length < 0 Then
Note: See TracChangeset for help on using the changeset viewer.