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/basic/function.sbp

    r355 r383  
    174174    'Abs = System.Math.Abs(number)
    175175    If number < 0 then
    176         return -number
    177     Else
    178         return number
     176        Abs = -number
     177    Else
     178        Abs = number
     179    End If
     180End Function
     181
     182Function Abs(number As Int64) As Int64
     183    If number < 0 then
     184        Abs = -number
     185    Else
     186        Abs = number
     187    End If
     188End Function
     189
     190Function Abs(number As Long) As Long
     191    If number < 0 then
     192        Abs = -number
     193    Else
     194        Abs = number
    179195    End If
    180196End Function
     
    240256
    241257#ifndef __STRING_IS_NOT_UNICODE
    242 Function AscW(s As *WCHAR) As UCSCHAR
     258Function AscW(s As String) As UCSCHAR
    243259    If s.Length = 0 Then
    244260        AscW = 0
Note: See TracChangeset for help on using the changeset viewer.