1 シミュレーションとは何か?



Similar documents
L N P Y F C T V W Z I X Pentomino Form Name Caption Position FormMain podesktopcenter

Microsoft PowerPoint - DELPHI�礔.ppt

初 めての ios アプリケーション iphone Form TLabel TButton. 図. コントロールの 配 置 Button OnClick Button. 00

25th Developer Camp

<リスト1> AD コンバータへのデータの出力例 NEC PC98 用 mov al,22h // CLK -> 1, CS -> 0, DI -> 0 out 32h,al // シリアル ポートにデータ出力 PC/AT 互換機用 mov al,00h // CLK -> 1 mov dx,3fb

Java, Delphi, C++Builderユーザのためのメモリリーク, ボトルネックの検出手順

Embarcadero Developer Camp

untitled

Pascal Pascal Free Pascal CPad for Pascal Microsoft Windows OS Pascal

PowerPoint プレゼンテーション

開発者が知りたい実践プログラミングテクニック! ~明日から使えるテクニック集~

untitled

Microsoft PowerPoint - はじめてのDataSnapアプリケーション_

ステップアップ! モバイルアプリケーション開発

PowerPoint プレゼンテーション

BASICとVisual Basic

知って得する!現役ヘルプデスクが答えるDelphiテクニカルエッセンス 9.0

第10回 コーディングと統合(WWW用).PDF

25th Developer Camp

t1

Windows Web Windows Windows WinSock

Embarcadero Developer Camp

新バージョンDelphi/400 XE7ご紹介 - マルチデバイスデザイナ機能で開発効率アップ! -

Delphi/400 テクニック公開 Windows7に最適化した アプリ開発・運用テクニック

dynabookガイド

Windows開発者のためのFireMonkeyモバイル開発入門

# let st1 = {name = "Taro Yamada"; id = };; val st1 : student = {name="taro Yamada"; id=123456} { 1 = 1 ;...; n = n } # let string_of_student {n

f5

Visual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバー

2005 D Pascal CASL ( ) Pascal C 3. A A Pascal TA TA TA

FPGA TU0135 (v1.0) FPGA Desktop NanoBoard FPGA CUSTOM_INSTRUMENT FPGA GUI ( ) IO GUI IO DelphiScript Desktop NanoBoard NB2DSK01 FPGA Desktop

Microsoft Word 練習問題の解答.doc


コンピュータ概論

開発者が知りたい実践プログラミングテクニック!


TOEIC

DF-200

テクニカルセミナーベストセレクション


2

2009 D Pascal CASL II ( ) Pascal C 3. A A Pascal TA TA

2011 D Pascal CASL II ( ) Pascal C 3. A A Pascal TA TA enshu-

JavaScript の使い方

ios 12, Android 9 時代の 今からでも始められるモバイル開発入門 第 36 回エンバカデロ デベロッパーキャンプ 株式会社シリアルゲームズ取締役 / AppDiv3 マネージャー細川淳 本文書の一部または全部の転載を禁止します 本文書の著作権は 著作者に帰属します

@(h) Select.vb ver 1.1 ( Select.vb ver 1.0 ( Option Explicit Private Structure SYMBOLINFO Dim SyDataType As String Dim

JavaScript 1.! DOM Ajax Shelley Powers,, JavaScript David Flanagan, JavaScript 2

untitled


Delphi/400開発ノウハウお教えします 「メニュー」開発のテクニック

untitled

Embarcadero Developer Camp

10th Developer Camp - B5

橡WINAPLI.PDF

45 VBA Fortran, Pascal, C Windows OS Excel VBA Visual Basic Excel VBA VBA Visual Basic For Application Microsoft Office Office Excel VBA VBA Excel Acc

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

Lecture on

REALV5_A4…p_Ł\1_4A_OCF

untitled

「都市から地方への人材誘致・移住促進に関する調査」

<91498EE88CA D815B2E786C73>

〔 大 会 役 員 〕

橡本体資料+参考条文.PDF

Oracle Lite Tutorial

netcdf

Java演習(4) -- 変数と型 --

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

manua6.PDF

1. A0 A B A0 A : A1,...,A5 B : B1,...,B

ルーレットプログラム


A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3,

PowerPoint プレゼンテーション

K227 Java 2

22nd Embarcadero Developer Camp G6

3軸加速度センサーモジュール MM-2860 書込み済みマイコンプログラム通信コマンド概要

ex01.dvi

21st Embarcadero Developer Camp

CodeGear Developer Camp

17th Embarcadero Developer Camp

チャレンジ!dbExpress接続

ブロック パニック

VB 資料 電脳梁山泊烏賊塾 音声認識 System.Speech の利用 System.Speech に依るディクテーション ( 音声を文字列化 ).NetFramework3.0 以上 (Visual Studio 2010 以降 ) では 標準で System.Speech が用意されて居るの

Transcription:

Delphi P.1/16 Delphi Delphi Object Pascal Delphi Delphi Delphi (Borland) Windows Turbo Pascal Pascal Delphi Turbo Pascal Windows Pascal FORTRAN BASIC Java Algol Algol Pascal Pascal Pascal Pascal Delphi Turbo Pascal Pascal Windows Object Pascal Object Delphi Windows Delphi Delphi Delphi 8 Delphi for the Microsoft.NET Framework Delphi 8.NET Delphi Delphi 8 Delphi 7 Delphi 8 http://www.borland.co.jp/ Delphi 7 Delphi 7 Delphi 8 Pascal Delphi Pascal Pascal Pascal program ; x

Delphi P.2/16 var x begin end. Pascal program chap8_1; var x : integer; begin x := 10; writeln('x=', x); x := x * 2; writeln('x*2=',x:2); readln; end. Pascal Pascal Pascal Pascal Delphi Delphi Pascal dpr Delphi Delphi Windows Delphi Windows Delphi Pascal

Delphi P.3/16 Pascal Turbo Pascal Pascal.pas Delphi Delphi Delphi Delphi 8 VCL Delphi 7 Windows memo edit Delphi

Delphi P.4/16 PaintBox Delphi 7 chap8_1 Delphi memo Standard Tmemo memo memo1 memo1 memo1 memo1 lines memo1 Tbutton button Delphi 8

Delphi P.5/16 buttun1 button2 Caption button1 Start button2 End Start End Start Start procedure TForm1.Button1Click(Sender: TObject); Delphi x s begin s form1.memo1.lines.add(s) Button1Click Start End End begin close; chap8_1 Delphi (chap8_2) Start memo End Delphi Windows Delphi memo TMediaPlayer Delphi chap09_2

Delphi P.6/16 Delphi Delphi Delphi Windows Delphi IDE Rad(Rapid Application Development) chap8_2 2-Way Tool Delphi Delphi Delphi 8.dpr (.pas) Delphi 8.bdsproj chap8_2 (chap8_2.dpr) Pascal begin end. uses chap8_2a.pas program chap8_2; {% DelphiDotNetAssemblyCompiler 'c: borland common files borland shared bds sha

Delphi P.7/16 red assemblies 2.0 Borland.Vcl.dll'} uses System.Reflection, System.Runtime.CompilerServices, SysUtils, Forms, chap8_2a in 'chap8_2a.pas' {Form1}; {$ R *.res} [STAThread] begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end. Pascal.pas Delphi Pascal.pas (chap8_2a.pas) unit chap8_2a; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Borland.Vcl.StdCtrls, System.ComponentModel; type

Delphi P.8/16 TForm1 = class(tform) Memo1: TMemo; Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); private { Private } public { Public } var Form1: TForm1; implementation {$ R *.nfm} procedure TForm1.Button1Click(Sender: TObject); var x : integer; s : string[10] ; begin x:= 10; s := 'x =' + IntToStr(x); form1.memo1.lines.add( s); x := x * 2; s := 'x*2 =' + IntToStr(x); form1.memo1.lines.add(s) procedure TForm1.Button2Click(Sender: TObject); begin close end. unit unit ;

Delphi P.9/16 (.pas) interface implementation uses Delphi type TForm1 = class(tform) Memo1 Button1 Button2 procedure private public var Form1 a = 10 const a = 10; implementation end. {$R *.nfm} TForm1 TForm1. TForm1. TForm1. Delphi Object Pascal Delphi

Delphi P.10/16 Delphi Caption Color Delphi Button1 Button2 TButton Caption Button1 Caption Start Button2 Caption End type Form1 (TForm1) TForm1 TForm TForm1 Memo Button TForm1 TForm1 Form1 TForm1 Form1 Delphi form1.memo1.lines.add memo Form1 Memo1 lines add lines TString TString add add add Canvas Canvas Delphi chap8_2 (OnClick) Pascal Pascal begin end. Delphi FormCreate FormCreate Delphi FormCreate (OnCreate) 3 Form1 Button1Click Button2Click Start Button1Click End Button2Click

Delphi P.11/16 Sender Sender TObject Delphi PowerPoint (char.ppt) char.ppt Enter Enter + Esc char.ppt Enter (Timer) Delphi Delphi Delphi chap8_3 chap8_3 1024 768 chap8_3a.pas TTimer Timer1 OnKeyDown Timer1Timer FormCreate unit chap8_3a; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

Delphi P.12/16 Dialogs, ExtCtrls; type TForm1 = class(tform) Timer1: TTimer; procedure OnKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); procedure Timer1Timer(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private } public { Public } const pre_order = '121323123';// var Form1 : TForm1; istep : byte;// istm : byte;// n_present : byte;// implementation {$ R *.dfm} procedure TForm1.OnKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);// begin if Key = VK_ESCAPE then close;{esc } if (Key = VK_RETURN) and (istep = 0) then{enter } begin timer1.enabled := true; Form1.Canvas.Rectangle(L eft, Top, Width, Height); procedure TForm1.Timer1Timer(Sender: TObject);// const

Delphi P.13/16 var s_focus : string[6] = ' ';// s_blank : string[6] = ' ';// s_stimuli : array[1..3] of string[6] = (' ',' ',' '); s_ending : array[1..2] of string[26] = (' ',' '); p_ord : byte;// s_id : byte;// begin timer1.enabled := false; istep := istep + 1;// if istep mod 3 = 1 then istm := istm + 1;// p_ord :=(istep-1) mod 3; if istm <= n_present then begin s_id := StrToInt(copy(pre_order,iStm,1)); with Canvas do begin Rectangle(0, 0, Width, Height); case p_ord of 0: TextOut(350, 300, s_blank); 1: TextOut(350, 300, s_focus); 2: TextOut(350, 300, s_stimuli[s_id]); { of case } {of with Canvas } { of if istm <= } if istm > n_present then with Canvas do begin if p_ord = 1 then begin Rectangle(0, 0, Width, Height); Font.Size := 28; TextOut(300, 350, s_ending[1]); TextOut(300, 450, s_ending[2]); end else TextOut(350, 300, s_blank); {of with Canvas } if (istm <= n_present) or ( p_ord = 0) then timer1.enabled := true; procedure TForm1.FormCreate(Sender: TObject);//

Delphi P.14/16 begin Left := -5; Top := -5;// Width := 1036; Height := 778;// with Canvas do begin//canvas Brush.Color := clblack;// Rectangle(Left, Top, Width, Height); // Pen.Color := clwhite;// Font.Size := 36; Font.Style := [fsbold];// TextOut(100, 350, 'Enter ');// Font.Size := 96;// istep := 0; istm := 0;// n_present := Length(pre_order);// pre_order with timer1 do begin { } enabled := false;// interval := 1200;// { of with timer1 }// end. FormCreate Left Top Width Length Left Form1.Left Form1 Form1. with Canvas do begin Canvas Canvas Brush.Color Canvas.Brush.Color with Canvas do Canvas. 1.2 FormCreate Enter OnKeyDown Enter istep OnKeyDown Enter OnKeyDownPress

Delphi P.15/16 1.2 Timer1Timer istep istm istep 0 2 p_ord istm pre_order if i_ord case if Enter istep Esc close chap8_3 Form1 BorderStyle bsnone Caption Windows FormStyle fsstayontop Font OnCreate FormCreate begin TForm1 OnKeyDown OnKeyDown OnKeyDown Timer OnTimer Timer1Timer chap8_3 FormCreate OnPaint FormCreate chap8_3 Delphi chap8_3 Delphi

Delphi P.16/16 chap8_4 (illusory correlation) chap8_5 chap8_4 Delphi Delphi Pascal Delphi Pascal Pascal Delphi Delphi