2008-02-01から1日間の記事一覧

PDF::Writer:#polygon

まんま require 'pdf/writer' pdf = PDF::Writer.new points = [ [ 10, 10 ], # starting point [ 20, 20, :curve ], # first control point [ 30, 30 ], # second control point [ 40, 40 ], # ending point of the curve. ] pdf.polygon(points) pdf.strok…

関数 skip-syntax-forward

(skip-syntax-forward "w")最初 syntax-table を引数に渡しちゃったよ

『とほほのJava入門』「Swing ツールバー」

『とほほのJava入門』を読んでいるところ18. Swing の「ツールバー」 JToolBarTest.java の動作確認

debug parameter

$parser->YYParse() にパラメーターを渡す %% input: #empty | input line ; line: '\n' | 'a' '\n' { print "$_[1]\n" } | error '\n' { $_[0]->YYErrok } ; %% sub _Error { exists $_[0]->YYData->{ERRMSG} and do { print $_[0]->YYData->{ERRMSG}; dele…

ディレクティブ EQU と =

『高級言語プログラマのためのアセンブラ入門』 186ページあたり ORG_ADR EQU 100H MES EQU "Hello World" CDSEG SEGMENT ASSUME cs:CDSEG,ds:CDSEG,ss:CDSEG ORG ORG_ADR START: mov ah,09H mov dx,OFFSET MSG int 21H mov ah,4CH int 21H MSG DB MES,0DH,0…