最新文章

Delphi的字串類資料型態&函數

字串類的資料型態
Str1 : Char; // Holds a single character, small alphabet
Str2 : WideChar; // Holds a single character, International alphabet
Str3 : AnsiChar; // Holds a single character, small alphabet
Str4 : ShortString; // Holds a string of up to 255 Char’s
Str5 : String; // Holds strings of Char’s of any size desired
Str6 : AnsiString; // Holds strings of AnsiChar’s any size desired
Str7 : WideString; // Holds strings of WideChar’s of any size desired

Delphi的數字類資料型態&函數

數字類的資料型態

Type Storage size Range

Byte 1 0 to 255
ShortInt 1 -127 to 127
Word 2 0 to 65,535
SmallInt 2 -32,768 to 32,767
LongWord 4 0 to 4,294,967,295
Cardinal 4* 0 to 4,294,967,295
LongInt 4 -2,147,483,648 to 2,147,483,647
Integer 4* -2,147,483,648 to 2,147,483,647
Int64 8 -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Single 4 7 significant digits, exponent -38 to +38
Currency 8 50+ significant digits, fixed 4 decimal places
Double 8 15 significant digits, exponent -308 to +308
Extended 10 19 significant digits, exponent -4932 to +4932

* Note : the Integer and Cardinal types are both 4 bytes in size at present (Delphi release 7), but are not guaranteed to be this size in the future. All other type sizes are guaranteed.

測試文章

Sorry, no posts were found.


精選文章

Joost 網路電視使用心得

今天早上看到介紹~
免費的~還不錯用~就去申請了測試帳號

免費的網路電視~畫質還不錯
且可以看的頻道還不少
只是~廣告有點小多~

以卡通來說~
今天看到的卡通還偏舊……
不過~今天在公司看了一天~
還蠻順的~

discuz的md5增強編碼

discuz這套論壇系統在中文區很受使用者喜愛,當然,越受歡迎的系統,越容易受到惡意的攻擊。

今天花了一點時間K了一下discuz的資料庫結構,順便看一下有沒有機會明白discuz的密碼保護方式,結果,它的安全性真的是夠讓我們放心的。

我用了微軟的thin PC,問題是要多thin?

最近把筆電重灌成Ubuntu系統,但是目前還沒有加RAM,只有少少可憐的4G,扣掉顯卡記憶體之後,只剩下3.75GB。

扣掉系統的使用的記憶體後,我設定了1G的記憶體給Oracle VirtualBox 中的thinPC(x86)系統。

Gphone真來了?還是又一個眼球效應的概念品

出處:[PConline] (2007-08-06 10:30:38)

關於傳說中的”Gphone”,google顯然是在蘋果身上取得了真經,當年iphone還未上市之前,一段一段的炒作誘惑愣是把人的脖子都勾得一陣一陣的抽搐,當然,上市之後的熱銷再度讓喬布期重溫了一次當年NaNo熱銷的興奮。