Changeset 388 for trunk/Include/Classes/ActiveBasic/Strings
- Timestamp:
- Nov 25, 2007, 4:31:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/ActiveBasic/Strings/SPrintF.ab
r386 r388 731 731 End Function 732 732 733 /* 734 @brief 0からFまでの文字を収めた表 735 @author egtra 736 */ 737 Dim HexadecimalTable[&h10] = [&h30, &h31, &h32, &h33, &h34, &h35, &h36, &h37, &h38, &h39, &h41, &h42, &h43, &h44, &h45, &h46] As Byte 738 733 739 /*! 734 740 @author Egtra … … 739 745 Dim x = xq As DWord 740 746 While x <> 0 741 buf[i] = _System_HexadecimalTable[x And &h0f]747 buf[i] = HexadecimalTable[x And &h0f] 742 748 x >>= 4 743 749 i-- … … 754 760 Dim i = MaxSizeLX 755 761 While x <> 0 756 buf[i] = _System_HexadecimalTable[x And &h0f]762 buf[i] = HexadecimalTable[x And &h0f] 757 763 x >>= 4 758 764 i-- … … 1270 1276 s.Append(FormatString(params[i] As String, precision, fieldWidth, flags)) 1271 1277 Case &h63 'c 1272 s.Append(FormatCharacter(params[i] As BoxedStrChar, precision, fieldWidth, flags) As Char)1278 s.Append(FormatCharacter(params[i] As BoxedStrChar, precision, fieldWidth, flags)) 1273 1279 ' Case &h6e 'n 1274 1280 Case &h25 '%
Note:
See TracChangeset
for help on using the changeset viewer.