Squeakでマターリ語りましょうや
at TECH
150:147
06/06/11 18:56:50
>>148
動かん。
fileStream := FileStream readOnlyFileNamed:'log.bin'.
fileStream binary.
fileStream position: 48.
b1 := Integer new.
b2 := b1 byte1:(fileStream next) byte2:(fileStream next) byte3:(fileStream next) byte4:(fileStream next).
Transcript cr; show: b2.
えーと、byte1:...はクラスメソッドだからオブジェクトb1は必要ないのか。
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5373日前に更新/113 KB
担当:undef