LAMPIRAN A: LIST PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN A: LIST PROGRAM"

Transcription

1 LAMPIRAN A: LIST PROGRAM Form Login unit ULogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, IBQuery, IBDatabase, IBCustomDataSet, IBTable, jpeg, ExtCtrls; type TFLogin = class(tform) Edit1: TEdit; Edit2: TEdit; Button1: TButton; Button2: TButton; IBTable1: TIBTable; IBDatabase1: TIBDatabase; IBTransaction1: TIBTransaction; IBQuery1: TIBQuery; DataSource1: TDataSource; Label1: TLabel; Image1: TImage; Label2: TLabel; Label3: TLabel; procedure Edit1KeyPress(Sender: TObject; var Key: Char); procedure Button2Click(Sender: TObject); procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } var FLogin: TFLogin; implementation uses UUtama; {$R *.dfm}

2 procedure TFLogin.Edit1KeyPress(Sender: TObject; var Key: Char); if key=#13 then if sender=edit1 then edit2.setfocus; procedure TFLogin.Button2Click(Sender: TObject); application.terminate; procedure TFLogin.Button1Click(Sender: TObject); if edit1.text='' then messagedlg('user belum diisi',mterror,[mbok],0); edit1.setfocus; if edit2.text='' then messagedlg('password belum diisi',mterror,[mbok],0); edit2.setfocus; with IBQuery1 do close; SQL.Add('select akses from pengguna where username=:username and sandi=:sandi'); Parambyname('Username').AsString:=edit1.Text; Parambyname('Sandi').AsString:=edit2.Text; open; If Isempty then messagedlg('user atau password belum terdaftar',mterror,[mbok],0); edit1.setfocus; if fields[0].asstring='admin' then

3 Futama.Show; FUtama.Menu:=futama.MmAdmin; end else if fields[0].asstring='pakar' then Futama.Show; futama.menu:=futama.mmpakar end else Futama.Show; futama.menu:=futama.mmparamedis; end. Form Pengguna unit UPengguna; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, jpeg, Buttons, Grids, DBGrids, IBQuery, DB, IBDatabase, IBCustomDataSet, IBTable; type TFPengguna = class(tform) BitBtnadd: TBitBtn; BitBtnedit: TBitBtn; BitBtndel: TBitBtn; Image1: TImage; GroupBox1: TGroupBox; Label2: TLabel; Label3: TLabel; Label4: TLabel;

4 Label5: TLabel; Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; ComboBox1: TComboBox; Bevel1: TBevel; BitBtn1: TBitBtn; BitBtn2: TBitBtn; DBGrid1: TDBGrid; Panel1: TPanel; procedure BitBtnaddClick(Sender: TObject); procedure BitBtneditClick(Sender: TObject); procedure BitBtndelClick(Sender: TObject); procedure BitBtn1Click(Sender: TObject); procedure BitBtn2Click(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } var FPengguna: TFPengguna; implementation uses UDM; {$R *.dfm} procedure TFPengguna.BitBtnaddClick(Sender: TObject); groupbox1.visible:=true; procedure TFPengguna.BitBtneditClick(Sender: TObject); groupbox1.visible:=true; edit1.text:=dm.ibtable1.fields[0].asstring;

5 edit2.text:=dm.ibtable1.fields[1].asstring; edit3.text:=dm.ibtable1.fields[2].asstring; combobox1.text:=dm.ibtable1.fields[3].asstring; procedure TFPengguna.BitBtndelClick(Sender: TObject); DM.IBTable1.Delete; procedure TFPengguna.BitBtn1Click(Sender: TObject); if (edit1.text='')or(edit2.text='')or (edit3.text='')or (combobox1.text='')then showmessage('data masih ada yang kosong'); end else DM.IBTable1.Insert; DM.IBTable1['IDPengguna']:=edit1.Text; DM.IBTable1['Username']:=edit2.Text; DM.IBTable1['Sandi']:=edit3.Text; DM.IBTable1['Akses']:=combobox1.Text; DM.IBTable1.Post; if DM.IBTransaction1.InTransaction and (messagedlg('simpan data pengguna baru?',mtconfirmation,[mbyes,mbno],0)=mryes) then DM.IBTransaction1.Active:=true; DM.IBTable1.Open; end else messagedlg('perubahan tidak disimpan ke database',mterror,[mbok],0); DM.IBTransaction1.Rollback; DM.IBTable1.Open; procedure TFPengguna.BitBtn2Click(Sender: TObject);

6 Groupbox1.Visible:=false; procedure TFPengguna.FormCreate(Sender: TObject); Groupbox1.Visible:=false; end. Form Menu Utama unit UUtama; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, jpeg, ExtCtrls; type TFUtama = class(tform) MMAdmin: TMainMenu; MMPakar: TMainMenu; MMParamedis: TMainMenu; file1: TMenuItem; logout1: TMenuItem; Keluar1: TMenuItem; Pengguna1: TMenuItem; manajemenpengguna1: TMenuItem; file2: TMenuItem; LogOut2: TMenuItem; keluar2: TMenuItem; datadasar1: TMenuItem; gejalapenyakit1: TMenuItem; penyakit1: TMenuItem; akuisisipengetahuan1: TMenuItem; AturanDiagnosis1: TMenuItem; file3: TMenuItem;

7 LogOut3: TMenuItem; Keluar3: TMenuItem; Paramedis1: TMenuItem; pendaftaranpasien1: TMenuItem; KonsultasiPenyakit1: TMenuItem; Image1: TImage; bantuan1: TMenuItem; penjelasan1: TMenuItem; aboutme1: TMenuItem; procedure logout1click(sender: TObject); procedure LogOut2Click(Sender: TObject); procedure LogOut3Click(Sender: TObject); procedure Keluar1Click(Sender: TObject); procedure keluar2click(sender: TObject); procedure Keluar3Click(Sender: TObject); procedure manajemenpengguna1click(sender: TObject); procedure gejalapenyakit1click(sender: TObject); procedure penyakit1click(sender: TObject); procedure AturanDiagnosis1Click(Sender: TObject); procedure pendaftaranpasien1click(sender: TObject); procedure KonsultasiPenyakit1Click(Sender: TObject); procedure penjelasan1click(sender: TObject); procedure aboutme1click(sender: TObject); private { Private declarations } public { Public declarations } var FUtama: TFUtama; implementation uses ULogin, UPengguna, UPenyakit, UAkuisisi, UPendaftaran, UKonsultasi, UPenjelasan, UAbout; {$R *.dfm}

8 procedure TFUtama.logOut1Click(Sender: TObject); FUtama.Close; Flogin.edit1.text:=''; Flogin.edit2.text:=''; procedure TFUtama.LogOut2Click(Sender: TObject); FUtama.Close; Flogin.edit1.text:=''; Flogin.edit2.text:=''; procedure TFUtama.LogOut3Click(Sender: TObject); FUtama.Close; Flogin.edit1.text:=''; Flogin.edit2.text:=''; procedure TFUtama.Keluar1Click(Sender: TObject); application.terminate; procedure TFUtama.keluar2Click(Sender: TObject); application.terminate; procedure TFUtama.Keluar3Click(Sender: TObject); application.terminate; procedure TFUtama.manajemenpengguna1Click(Sender: TObject); FPengguna.Show;

9 procedure TFUtama.gejalapenyakit1Click(Sender: TObject); FDatadasar.show; procedure TFUtama.penyakit1Click(Sender: TObject); FDatadasar.show; procedure TFUtama.AturanDiagnosis1Click(Sender: TObject); FAkuisisi.show; procedure TFUtama.pendaftaranpasien1Click(Sender: TObject); FPendaftaran.show; procedure TFUtama.KonsultasiPenyakit1Click(Sender: TObject); FKonsultasi.show; procedure TFUtama.penjelasan1Click(Sender: TObject); FPenjelasan.show; procedure TFUtama.aboutme1Click(Sender: TObject); FAbout.show; end. Form Data Dasar unit UPenyakit;

10 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, Buttons, ComCtrls, ExtCtrls; type TFDatadasar = class(tform) PageControl1: TPageControl; TabSheet1: TTabSheet; TabSheet2: TTabSheet; Label1: TLabel; edgejala: TEdit; BitBtn1: TBitBtn; BitBtn3: TBitBtn; BitBtn4: TBitBtn; Label4: TLabel; BitBtn5: TBitBtn; BitBtn6: TBitBtn; BitBtn7: TBitBtn; BitBtn8: TBitBtn; DBGrid2: TDBGrid; edpenyakit: TEdit; BitBtn2: TBitBtn; DBGrid1: TDBGrid; Panel1: TPanel; BitBtn9: TBitBtn; procedure BitBtn1Click(Sender: TObject); procedure BitBtn2Click(Sender: TObject); procedure BitBtn3Click(Sender: TObject); procedure BitBtn4Click(Sender: TObject); procedure BitBtn5Click(Sender: TObject); procedure BitBtn7Click(Sender: TObject); procedure BitBtn8Click(Sender: TObject); procedure FormCreate(Sender: TObject); procedure BitBtn9Click(Sender: TObject);

11 private { Private declarations } public { Public declarations } var FDatadasar: TFDatadasar; implementation uses UDM, UedGejala; {$R *.dfm} procedure TFDataDasar.BitBtn1Click(Sender: TObject); if edgejala.text='' then messagedlg('nama Gejala harus diisi dulu!',mtinformation,[mbok],0); with DM.IBQuery2 do Close; SQL.Add('Insert into Gejala(IDGejala,NamaGejala)'+ 'values(gen_id(idgejala,1),:namagejala)'); Parambyname('NamaGejala').AsString:=edGejala.Text; Open; DM.IBTransaction1.Active:=TRUE; DM.IBTable2.Open; procedure TFDatadasar.BitBtn2Click(Sender: TObject); FedGejala.show; FedGejala.Edit1.Text:=DM.IBTable2.Fields[0].AsString; FedGejala.Edit2.Text:=DM.IBTable2.Fields[1].AsString;

12 procedure TFDatadasar.BitBtn3Click(Sender: TObject); if messagedlg('anda yakin akan menghapus data ini?',mtconfirmation, [mbyes,mbno],0)=mryes then with DM.IBQuery2 do Close; SQL.Add('Delete from Gejala where NamaGejala=:NamaGejala'); Parambyname('NamaGejala').AsString:=edGejala.Text; try execsql; except; DM.IBTransaction1.Rollback; Messagedlg('Penghapusan gagal dilakukan',mterror,[mbok],0); messagedlg('penghapusan berhasil dilakukan!',mtconfirmation,[mbok],0); DM.IBTable2.Refresh; DM.IBTable2.Open; procedure TFDatadasar.BitBtn4Click(Sender: TObject); edgejala.text:=''; procedure TFDatadasar.BitBtn5Click(Sender: TObject); if edpenyakit.text='' then messagedlg('nama Penyakit harus diisi dulu!',mtinformation,[mbok],0); with DM.IBQuery3 do Close;

13 SQL.Add('Insert into Penyakit(IDPenyakit,NamaPenyakit)'+ 'values(gen_id(idpenyakit,1),:namapenyakit)'); Parambyname('NamaPenyakit').AsString:=uppercase(edPenyakit.Text); Open; DM.IBTransaction1.Active:=TRUE; DM.IBTable3.Open; procedure TFDatadasar.BitBtn7Click(Sender: TObject); if messagedlg('anda yakin akan menghapus data ini?',mtconfirmation, [mbyes,mbno],0)=mryes then with DM.IBQuery3 do Close; SQL.Add('Delete from Penyakit where NamaPenyakit=:NamaPenyakit'); Parambyname('NamaPenyakit').AsString:=edPenyakit.Text; try execsql; except; DM.IBTransaction1.Rollback; Messagedlg('Penghapusan gagal dilakukan',mterror,[mbok],0); messagedlg('penghapusan berhasil dilakukan!',mtconfirmation,[mbok],0); DM.IBTable3.Refresh; DM.IBTable3.Open; procedure TFDatadasar.BitBtn8Click(Sender: TObject); edpenyakit.text:='';

14 procedure TFDatadasar.FormCreate(Sender: TObject); DM.IBTable3.Refresh; procedure TFDatadasar.BitBtn9Click(Sender: TObject); FDatadasar.Close; end. Form Akuisisi Pengetahuan unit UPenyakit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, Buttons, ComCtrls, ExtCtrls; type TFDatadasar = class(tform) PageControl1: TPageControl; TabSheet1: TTabSheet; TabSheet2: TTabSheet; Label1: TLabel; edgejala: TEdit; BitBtn1: TBitBtn; BitBtn3: TBitBtn; BitBtn4: TBitBtn; Label4: TLabel; BitBtn5: TBitBtn; BitBtn6: TBitBtn; BitBtn7: TBitBtn; BitBtn8: TBitBtn; DBGrid2: TDBGrid;

15 edpenyakit: TEdit; BitBtn2: TBitBtn; DBGrid1: TDBGrid; Panel1: TPanel; BitBtn9: TBitBtn; procedure BitBtn1Click(Sender: TObject); procedure BitBtn2Click(Sender: TObject); procedure BitBtn3Click(Sender: TObject); procedure BitBtn4Click(Sender: TObject); procedure BitBtn5Click(Sender: TObject); procedure BitBtn7Click(Sender: TObject); procedure BitBtn8Click(Sender: TObject); procedure FormCreate(Sender: TObject); procedure BitBtn9Click(Sender: TObject); private { Private declarations } public { Public declarations } var FDatadasar: TFDatadasar; implementation uses UDM, UedGejala; {$R *.dfm} procedure TFDataDasar.BitBtn1Click(Sender: TObject); if edgejala.text='' then messagedlg('nama Gejala harus diisi dulu!',mtinformation,[mbok],0); with DM.IBQuery2 do Close; SQL.Add('Insert into Gejala(IDGejala,NamaGejala)'+ 'values(gen_id(idgejala,1),:namagejala)');

16 Parambyname('NamaGejala').AsString:=edGejala.Text; Open; DM.IBTransaction1.Active:=TRUE; DM.IBTable2.Open; procedure TFDatadasar.BitBtn2Click(Sender: TObject); FedGejala.show; FedGejala.Edit1.Text:=DM.IBTable2.Fields[0].AsString; FedGejala.Edit2.Text:=DM.IBTable2.Fields[1].AsString; procedure TFDatadasar.BitBtn3Click(Sender: TObject); if messagedlg('anda yakin akan menghapus data ini?',mtconfirmation, [mbyes,mbno],0)=mryes then with DM.IBQuery2 do Close; SQL.Add('Delete from Gejala where NamaGejala=:NamaGejala'); Parambyname('NamaGejala').AsString:=edGejala.Text; try execsql; except; DM.IBTransaction1.Rollback; Messagedlg('Penghapusan gagal dilakukan',mterror,[mbok],0); messagedlg('penghapusan berhasil dilakukan!',mtconfirmation,[mbok],0); DM.IBTable2.Refresh; DM.IBTable2.Open;

17 procedure TFDatadasar.BitBtn4Click(Sender: TObject); edgejala.text:=''; procedure TFDatadasar.BitBtn5Click(Sender: TObject); if edpenyakit.text='' then messagedlg('nama Penyakit harus diisi dulu!',mtinformation,[mbok],0); with DM.IBQuery3 do Close; SQL.Add('Insert into Penyakit(IDPenyakit,NamaPenyakit)'+ 'values(gen_id(idpenyakit,1),:namapenyakit)'); Parambyname('NamaPenyakit').AsString:=uppercase(edPenyakit.Text); Open; DM.IBTransaction1.Active:=TRUE; DM.IBTable3.Open; procedure TFDatadasar.BitBtn7Click(Sender: TObject); if messagedlg('anda yakin akan menghapus data ini?',mtconfirmation, [mbyes,mbno],0)=mryes then with DM.IBQuery3 do Close; SQL.Add('Delete from Penyakit where NamaPenyakit=:NamaPenyakit'); Parambyname('NamaPenyakit').AsString:=edPenyakit.Text; try execsql; except; DM.IBTransaction1.Rollback; Messagedlg('Penghapusan gagal dilakukan',mterror,[mbok],0);

18 messagedlg('penghapusan dilakukan!',mtconfirmation,[mbok],0); DM.IBTable3.Refresh; DM.IBTable3.Open; berhasil procedure TFDatadasar.BitBtn8Click(Sender: TObject); edpenyakit.text:=''; procedure TFDatadasar.FormCreate(Sender: TObject); DM.IBTable3.Refresh; procedure TFDatadasar.BitBtn9Click(Sender: TObject); FDatadasar.Close; end. Form Daftar Aturan unit Udaftaraturan; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TFDaftaraturan = class(tform) Memo1: TMemo; Panel1: TPanel;

19 BitBtn1: TBitBtn; procedure BitBtn1Click(Sender: TObject); private { Private declarations } public { Public declarations } var FDaftaraturan: TFDaftaraturan; implementation {$R *.dfm} procedure TFDaftaraturan.BitBtn1Click(Sender: TObject); FDaftaraturan.close; end. Form Pendaftaran Pasien unit UPendaftaran; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, Buttons, ExtCtrls; type TFPendaftaran = class(tform) Label3: TLabel; Label4: TLabel; edalamat: TEdit; BitBtn1: TBitBtn; BitBtn2: TBitBtn; BitBtn3: TBitBtn;

20 BitBtn4: TBitBtn; ednamapasien: TEdit; edpasien: TEdit; DBGrid1: TDBGrid; BitBtn5: TBitBtn; Panel1: TPanel; procedure BitBtn1Click(Sender: TObject); procedure BitBtn3Click(Sender: TObject); procedure BitBtn5Click(Sender: TObject); private { Private declarations } public { Public declarations } var FPendaftaran: TFPendaftaran; implementation uses UDM; {$R *.dfm} procedure TFPendaftaran.BitBtn1Click(Sender: TObject); if ednamapasien.text='' then messagedlg('nama pasien belum diisi',mterror,[mbok],0); ednamapasien.setfocus; if edalamat.text='' then messagedlg('alamat belum diisi',mterror,[mbok],0); edalamat.setfocus; with DM.IBQuery7 do Close;

21 SQL.Add('Insert into pasien(idpasien,namapasien,alamat)'+ 'values(gen_id(idpasien,1),:namapasien,:alamat)'); Parambyname('NamaPasien').AsString:=ednamapasien.Text; Parambyname('Alamat').AsString:=edalamat.Text; Open; DM.IBTransaction1.Active:=TRUE; DM.IBTable7.Open; procedure TFPendaftaran.BitBtn3Click(Sender: TObject); if messagedlg('anda yakin akan menghapus data ini?',mtconfirmation, [mbyes,mbno],0)=mryes then with DM.IBQuery7 do Close; SQL.Add('Delete from pasien where NamaPasien=:NamaPasien and alamat=:alamat'); Parambyname('NamaPasien').AsString:=ednamapasien.Text; Parambyname('Alamat').AsString:=edalamat.Text; try execsql; except; DM.IBTransaction1.Rollback; Messagedlg('Penghapusan gagal dilakukan',mterror,[mbok],0); messagedlg('penghapusan berhasil dilakukan!',mtconfirmation,[mbok],0); DM.IBTable7.Refresh; DM.IBTable7.open; procedure TFPendaftaran.BitBtn5Click(Sender: TObject);

22 FPendaftaran.Close; end. Form Konsultasi Penyakit unit UKonsultasi; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, Buttons, ExtCtrls; type TFKonsultasi = class(tform) Panel1: TPanel; GroupBox1: TGroupBox; Memogejala: TMemo; BitBtnNext: TBitBtn; GroupBox2: TGroupBox; BitBtn3: TBitBtn; Edit1: TEdit; Label2: TLabel; BitBtn4: TBitBtn; Label3: TLabel; Ednama: TEdit; Label4: TLabel; BitBtn6: TBitBtn; edid: TEdit; edalamat: TEdit; GroupBox3: TGroupBox; RadioButton1: TRadioButton; RadioButton2: TRadioButton; RadioButtontidak: TRadioButton; Label1: TLabel; Edit2: TEdit; BitBtnOK: TBitBtn; Edit3: TEdit;

23 DBGrid1: TDBGrid; procedure BitBtn4Click(Sender: TObject); procedure BitBtnOKClick(Sender: TObject); procedure RadioButton2Click(Sender: TObject); procedure FormActivate(Sender: TObject); procedure BitBtn3Click(Sender: TObject); procedure BitBtnNextClick(Sender: TObject); private { Private declarations } public { Public declarations } var FKonsultasi: TFKonsultasi; IDRule,Op_Rule,Jawaban,i,ID,IDAturan,Operator:integer; Answer:real; a:array of real; implementation uses UDM,UPendaftaran; {$R *.dfm} procedure TFKonsultasi.BitBtn4Click(Sender: TObject); with DM.IBQuery7 do close; SQL.Add('select *from pasien where IDPasien=:IDPasien'); Parambyname('IDPasien').AsString:=edID.Text; open; If Isempty then messagedlg('idpasien belum terdaftar',mterror,[mbok],0); edid.setfocus; end else

24 ednama.text:=fields[1].asstring; edalamat.text:=fields[2].asstring; with DM.IBQuery4 do close; sql.add('select D.*, G.* '+ 'from detail_rulepenyakit D, gejala G '+ 'where D.IDGejala=G.IDGejala and IDGejala=1'); open; edit1.text:=inttostr(fieldbyname('idrule').asinteger); memogejala.lines.clear; memogejala.lines.add('apakah' + Fieldbyname('Namagejala').AsString); edit3.text:=inttostr(fieldbyname('idgejala').asinteger); procedure TFKonsultasi.BitBtnOKClick(Sender: TObject); var CFPengguna,CFGejala :real; if RadioButtontidak.Checked=true then CFGejala:=-1*strtofloat(edit2.Text); CFPengguna:=CFGejala; end else CFPengguna:=strtofloat(edit2.Text); with DM.IBQuery4 do sql.clear; sql.add('insert into CekGejala(IDRule,IDGejala,CFPengguna)'+ 'values(:idrule,:idgejala,:cfpengguna)'); Parambyname('IDRule').AsInteger:=strtoint(edit1.Text); Parambyname('IDGejala').AsInteger:=strtoint(edit3.Text); Parambyname('CFPengguna').AsFloat:=CFPengguna; Open; DM.IBTransaction1.Active:=TRUE; bitbtnnext.enabled:=true;

25 edit2.clear; procedure TFKonsultasi.RadioButton2Click(Sender: TObject); edit2.text:='0'; procedure TFKonsultasi.FormActivate(Sender: TObject); bitbtnnext.enabled:=false; procedure TFKonsultasi.BitBtn3Click(Sender: TObject); with DM.IBQuery4 do Close; SQL.Add('Delete from Cekgejala'); Open; DM.IBTransaction1.Active:=TRUE; with DM.IBQuery5 do Close; SQL.Add('Delete from Cekpenyakit'); Open; DM.IBTransaction1.Active:=TRUE; showmessage('table sudah berhasil di reset'); procedure TFKonsultasi.BitBtnNextClick(Sender: TObject); var y,id:integer; CFUser,CFPakar,CFFinal:real; Namapenyakit:string;

26 y:=strtoint(edit3.text)+1; with DM.IBQuery2 do SQL.Add('select D.*, G.* '+ 'from detail_rulepenyakit D, gejala G '+ 'where D.IDGejala=G.IDGejala and IDGejala=:y'); Parambyname('y').AsInteger:=y; open; edit1.text:=inttostr(fieldbyname('idrule').asinteger); edit3.text:=inttostr(fieldbyname('idgejala').asinteger); memogejala.lines.clear; memogejala.lines.add('apakah'+fieldbyname('namagejala').asstring); if y=41 then showmessage('gejala sudah habis'); for ID:=1 to 10 do with DM.IBQuery5 do sql.clear; sql.add('select min(cfpengguna) as CFUser from CekGejala where IDRule=:ID'); parambyname('id').asinteger:=id; open; CFUser:=fieldvalues['CFUser']; with DM.IBQuery3 do Sql.Clear; sql.add('select R.*, P.* '+ 'from RulePenyakit R, Penyakit P '+ 'where R.IDRule=P.IDPenyakit and IDRule=:ID'); Parambyname('ID').AsInteger:=ID; Open; CFPakar:=fields[1].AsFloat; CFFinal:=CFUser*CFPakar; Namapenyakit:=fieldbyname ('Namapenyakit').asstring; with DM.IBQuery5 do sql.clear; sql.add('insert into CekPenyakit (IDPenyakit,Namapenyakit,CFFinal)'+ 'values(:idpenyakit,:namapenyakit,:cffinal)'); parambyname('idpenyakit').asinteger:=id;

27 end. parambyname('namapenyakit').asstring:=namapenyakit; parambyname('cffinal').asfloat:=cffinal; open; DM.IBTransaction1.Active:=TRUE; Form Penjelasan unit UPenjelasan; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TFPenjelasan = class(tform) Label1: TLabel; MemoPenjelasan: TMemo; BitBtn1: TBitBtn; procedure BitBtn1Click(Sender: TObject); private { Private declarations } public { Public declarations } var FPenjelasan: TFPenjelasan;

28 implementation {$R *.dfm} procedure TFPenjelasan.BitBtn1Click(Sender: TObject); FPenjelasan.Close; end. From About unit UAbout; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, jpeg, Buttons; type TFabout = class(tform) Panel1: TPanel; Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4: TLabel; Label5: TLabel; Label6: TLabel; Label7: TLabel; Label8: TLabel; Label9: TLabel; Label10: TLabel; Label11: TLabel; Label12: TLabel; Label13: TLabel; Label14: TLabel; Image1: TImage;

29 BitBtn1: TBitBtn; procedure BitBtn1Click(Sender: TObject); private { Private declarations } public { Public declarations } var Fabout: TFabout; implementation {$R *.dfm} procedure TFabout.BitBtn1Click(Sender: TObject); Fabout.Close; end.

LAMPIRAN Listing Program

LAMPIRAN Listing Program LAMPIRAN Listing Program unit umain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls, ExtDlgs, DCPcrypt2, DCPrc4, DCPsha1,

More information

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA Dosen Pembimbing : Dedi W ST,. MM Nama : Elly Sunandy NIM : 13158279 Pemrograman Terstruktur Membuat program dengan Delphi 7

More information

LAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg;

LAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg; LAMPIRAN Lampiran A. Listing Program 1. Unit Utama unit UnUtama; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg; type Tfrmutama

More information

LAMPIRAN A: DDL DATABASE

LAMPIRAN A: DDL DATABASE LAMPIRAN A: DDL DATABASE MySQL-Front 5.1 (Build 2.7) Host: localhost Database: mobil ------------------------------------------------------ Server version 5.0.41-community-nt USE `mobil`; Source for table

More information

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM NATIONAL SENIOR CERTIFICATE NASIONALE SENIOR SERTIFIKAAT GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 150 This memorandum consists of 6 pages.

More information

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer;

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; type TForm1 = class(tform) Cenario: TImage;

More information

2. Design and Development

2. Design and Development Postage Calculator 1. The task Design and implement a program for employees of a travel agency who send out documents to the UK and EU only; the program will calculate the cost of postage. Each envelope

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2018 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 21 pages. Information Technology/P1 2 DBE/Feb. Mar. 2018

More information

LAMPIRAN A. Foto Alat

LAMPIRAN A. Foto Alat LAMPIRAN A Foto Alat A-1 A-2 Rangkaian Skematik PCB Sistem Monitoring Infus A-3 LAMPIRAN B Program pada Mikrokontroller AVR Atmega16...B-1 Program pada Borlan Delhpi 7.0...B-9 PROGRAM UTAMA /*****************************************************

More information

NEAR EAST UNIVERSI FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEMS

NEAR EAST UNIVERSI FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEMS NEAR EAST UNIVERSI FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEMS 2007/2008 FALL TERM CIS 200 (Graduation Project) Film&Music Center Automation System Submitted

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2017 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 26 pages. Information Technology/P1 2 DBE/November 2017 GENERAL

More information

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM MARKS: 120 This memorandum consists of 11 pages. 2 INFORMATION TECHNOLOGY

More information

Listing Program Tugas Akhir (TugasAkhir.dpr)

Listing Program Tugas Akhir (TugasAkhir.dpr) L1 Listing Program Tugas Akhir (TugasAkhir.dpr) program TugasAkhir; uses Forms, udb in 'udb.pas' {dmta: TDataModule}, ufungsi in 'ufungsi.pas', uutama in 'uutama.pas' {futama}, ulogin in 'ulogin.pas' {flogin},

More information

Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su

Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su centri na neiscrtanom krugu poluprečnika r. Dugme Boji

More information

APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol

APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol 1 Interface Type At the DB9 connector the LSP32K Power Supply device offers a serial data interface with TTL logic level for remote control and readout

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2017 MEMORANDUM MARKS: 150 This memorandum consists of 29 pages. Information Technology/P1 2 DBE/Feb. Mar. 2017 GENERAL INFORMATION:

More information

LAMPIRAN A LISTING PROGRAM

LAMPIRAN A LISTING PROGRAM LAMPIRAN LAMPIRAN A LISTING PROGRAM //Program Utama unit umain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Menus, ExtCtrls, StdCtrls, Lucifer,VisSem,

More information

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows Государственное образовательное учреждение высшего профессионального образования «Петербургский государственный университет путей сообщения» Кафедра «Информационные и вычислительные системы» Лабораторная

More information

Source code for simulations: 1 of 11

Source code for simulations: 1 of 11 The following is the source code for the simulations reported in Clinchy, Haydon and Smith (Pattern process: what does patch occupancy really tell us about metapopulation dynamics). unit Main; interface

More information

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 A Listing Program Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 LISTING PROGRAM BORLAND DELPHI 7.0 Inisialisasi ==========================================================

More information

unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CPort, LPComponent, SLCommonGen, SLSignalGen, Menus, SLComponentCollection, LPDrawLayers,

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MEMORANDUM MARKS: 150 This memorandum consists of 28 pages. Information Technology/P1 2 DBE/November 2014 GENERAL INFORMATION:

More information

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 120 This memorandum consists of 10 pages.

More information

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/Feb. Mar. 2015 GENERAL INFORMATION:

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2015 GENERAL INFORMATION:

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2008 MEMORANDUM The memorandum consists of 35 pages. Information Technology/P1 2 DoE/November 2008 General information: Pages 2 12

More information

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi.

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi. 1 PANEL komponenta kontejnerska, slična GropBox. Roditeljska komponenta za komp. postavljene na nju. Zajedno se pomeraju. Caption svojstvo za naziv; Alighment pomera svojstvo Caption levo i desno; Align

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2016 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2016 GENERAL INFORMATION:

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2010 MEMORANDUM MARKS: 120 The memorandum consists of 25 pages and 7 annexures. Information Technology P1 2 DoE/Feb. March

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2009 MEMORANDUM MARKS: 120 The memorandum consists of 32 pages. Please turn over Information Technology/P1 2 DoE/November 2009 GENERAL

More information

judul : dump mysql with delphi - opensource

judul : dump mysql with delphi - opensource judul : dump mysql with delphi - opensource header : hmm...ini sebenernya dah pernah tak tanyain dalam thread tapi lom ada jawaban yang memuaskan, aq coba ekplor terus dan akhirnya 3 bulan yang lalu bisa

More information

Delphi Generics.Collections

Delphi Generics.Collections Delphi Generics.Collections Copyright(C) 2008 Embarcadero Technologies, Inc. All Rights Reserved. Delphi Generics.Collections Table of Contents Generics.Collections.TCollectionNotification 1 Generics.Collections.TCollectionNotifyEvent

More information

LAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS

LAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS LAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS Instrumentation Amplifier, G=749 +9V 3 5 8 6 1 AD620AN 30K 22K HPF, G=31 HPF, G=2.05-23 5 +9V +9V 1K 8 1K 8 2 2 6 6 3 3 8.2 nf 1 8.2nF 1 5 OP07 5 OP07 220K

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MARKS: 150 TIME: 3 hours This question paper consists of 22 pages. Information Technology/P1 2 DBE/November 2014 NSC INSTRUCTIONS

More information

UNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library).

UNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library). Basics of Language UNIT Files Basics of Language UNIT Files UNIT Files Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library). You can reduce

More information

Introduction to the DLL for the USB Interface Board K8061

Introduction to the DLL for the USB Interface Board K8061 K8061.DLL 1 Introduction to the DLL for the USB Interface Board K8061 The K8061 interface board has 8 digital input channels and 8 digital output channels. In addition, there are 8 analogue inputs, 8 analogue

More information

SENIOR CERTIFICATE EXAMINATION GRADE 12

SENIOR CERTIFICATE EXAMINATION GRADE 12 SENIOR CERTIFICATE EXAMINATION GRADE 12 INFORMATION TECHNOLOGY 1 FEBRUARY/MARCH 2009 MEMORANDUM MARKS: 120 The memorandum consists of 37 pages. Information Technology/1 2 DoE/Feb. March 2009 General information:

More information

LAMPIRAN LIST PROGRAM

LAMPIRAN LIST PROGRAM LAMPIRAN LIST PROGRAM 1. Modules Public conn As New ADODB.Connection Public rstb_pendekatan As ADODB.Recordset Public rstb_solusi As ADODB.Recordset Public rstb_alasan As ADODB.Recordset Public rstb_pilihan

More information

Image. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ;

Image. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ; B 71 11 Image Image Image Image 11.1 11.1.1 Amida AmidaU.pas AmidaP.dpr 11.1.2 Form Name FormAmida Caption Position poscreencenter HorzScrollBar.Visible False VertScrollBar.Visible False 11.1.3 11.2 Image

More information

SENIOR CERTIFICATE EXAMINATION

SENIOR CERTIFICATE EXAMINATION SENIOR CERTIFICATE EXAMINATION INFORMATION TECHNOLOGY P1 2015 MARKS: 150 TIME: 3 hours This question paper consists of 23 pages. Information Technology/P1 2 DBE/2015 SCE INSTRUCTIONS AND INFORMATION 1.

More information

Combining kbmmw and kbmwabd for kbmwabd v and kbmmw v

Combining kbmmw and kbmwabd for kbmwabd v and kbmmw v Combining kbmmw and kbmwabd for kbmwabd v. 2.44+ and kbmmw v. 1.00+ The combination of kbmwabd and kbmmw gives a very powerful web application setup with advanced database handling and separation of business

More information

Faculty of Engineering

Faculty of Engineering NEAR EAST UNIVERSITY Faculty of Engineering Department of Computer Engineering PHARMACY AUTOMATION PROGRAM Graduation Project COM-400.. Pelin Ozdemir Prof.Dr. Rahib Abiyev Nicosia-2008 ACKNOWLEDGEMENTS

More information

&'()*+,-./0&(1& $ :;

&'()*+,-./0&(1& $ :; &'()*+,-./0&(1& $234567859:; raek@etteam.com %!"# $%# &#$ ' (!) * %#+,-./0$1"# 22(3 45416 (! 57 5 71 " *7 *7 ( 89:9-,- 8;:< 16 *! =)5> 7# &$%# 45?"16 * @! (! 5 *) 8,:A;B9- C;D.E

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2012 MEMORANDUM MARKS: 120 The memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2012 GENERAL INFORMATION

More information

DELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE

DELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE COURSE DELPHI FOR ELECTRONIC ENGINEERS Part 2 Programming a calculator Herman Bulle with thanks to Anton Vogelaar In the first instalment of this series, we introduced the Delphi programming environment

More information

Visitor Management System

Visitor Management System WWW.VALLINME.COM Visitor Management System Ver 1.0 Mohd Noor Azam 18-03-2015 [Type the abstract of the document here. The abstract is typically a short summary of the contents of the document. Type the

More information

NEAR EAST UNIVERSITY. Faculty of Engineering. Department of Computer Engineering TIME TABLE DESIGN: DELPHI APPLICATION. Graduation Project COM-400

NEAR EAST UNIVERSITY. Faculty of Engineering. Department of Computer Engineering TIME TABLE DESIGN: DELPHI APPLICATION. Graduation Project COM-400 ) NEAR EAST UNIVERSITY,' Faculty of Engineering Department of Computer Engineering TIME TABLE DESIGN: DELPHI APPLICATION Graduation Project COM-400 Student: Mamun Ali Khamis (20010702) Supervisor: Ass.Prof.Dr.

More information

Interdisciplinary relations in teaching of programming

Interdisciplinary relations in teaching of programming Interdisciplinary relations in teaching of programming VLADIMÍR JEHLIČKA Department of Informatics Faculty of Education University of Hradec Králové Rokitanského 62, 500 03 Hradec Králové 3 CZECH REPUBLIC

More information

ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ

ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ ИНФОРМАТИКАНЫ ОҚЫТЫӮ МЕТОДИКАСЫ ТӘЛИМ БАҒДАРЫ КУРС ЖУМЫСЫ ТЕМАСЫ:

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2016 MARKS: 150 TIME: 3 hours This question paper consists of 21 pages. Information Technology/P1 2 DBE/Feb. Mar. 2016 NSC

More information

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425 Printing in Delphi 5 CHAPTER 10 IN THIS CHAPTER The TPrinter Object 420 TPrinter.Canvas 421 Simple Printing 422 Printing a Form 425 Advanced Printing 425 Miscellaneous Printing Tasks 450 Obtaining Printer

More information

DMX-Dongle II Win16, Win32 & Dos Developer s Guide

DMX-Dongle II Win16, Win32 & Dos Developer s Guide DMX-Dongle II Win16, Win32 & Dos Developer s Guide Artistic Licence (UK) Ltd. Manual Revision V1.8 Firmware Revision 17, 20 2 C O N T E N T S Introduction...5 DongleSetErrorFlag... 12 Quick Start...5 DongleGetErrorFlag...

More information

We are all familiar with the concept of a queue:

We are all familiar with the concept of a queue: SEVENTEEN Queues We are all familiar with the concept of a queue: back of the queue next person joins front of the queue next person leaves Queues play an important role in computer systems, for example:

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2013 MARKS: 120 TIME: 3 hours This question paper consists of 16 pages and 3 annexures. Information Technology/P1 2 DBE/November

More information

MesuTher.dproj 07/05/ :56:44

MesuTher.dproj 07/05/ :56:44 MesuTher.dproj 07/05/2011 19:56:44 Page 1 sur 1 1: library MesuTher; 2: 3: uses 4: Windows, 5: Messages, 6: Classes, 7: Dialogs, 8: Forms, 9: SysUtils, 10: UTherElec in 'UTherElec.pas'; 11: 12: {$R MesuTher.res}

More information

Cross-Platform Development with Delphi 10.2 & FireMonkey. for Windows, Mac OS X (macos) & Linux. Harry Stahl

Cross-Platform Development with Delphi 10.2 & FireMonkey. for Windows, Mac OS X (macos) & Linux. Harry Stahl Cross-Platform Development with Delphi 10.2 & FireMonkey for Windows, Mac OS X (macos) & Linux Harry Stahl Author: Harry Stahl Publisher: Harry Stahl City: Bonn, Germany Copyright (2017), All rights reserved

More information

REGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1

REGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1 REGISTRATION GUIDE MCIS CUSTOMER PORTAL Page 1 Customer Portal Registration Guide Go to www.mcis.my and click the Customer Portal tab Page 2 Customer Portal Registration Guide 1. The page shown below will

More information

LISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara

LISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara LISTING PROGRAM 1. Form Menu Utama Dim LenTemp As Integer Dim SrtTemp As String Dim n As Integer Private Sub Form_Load() Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu,

More information

sourcecode_of_keisanpro.txt

sourcecode_of_keisanpro.txt 素因数分解のソースコード sourcecode_of_keisanpro.txt unit soinsuu2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Printers, Math; type Tfrm_soinsuu2 =

More information

Program pro výpočet zkratových poměrů v elektrizační soustavě

Program pro výpočet zkratových poměrů v elektrizační soustavě Program pro výpočet zkratových poměrů v elektrizační soustavě Příloha A zdrojový kód Oto Bucholcer unit Unit1;...4 procedure UpdateVypis_Vysledky;...11 procedure TThreadCalculate.syncShowMessage;...11

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()

More information

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama LISTING PROGRAM Source Code Tampilan Awal Private Sub cmdkeluar_click() MsgBox "Terima Kasih Telah Membuka Program Ini.", vbinformation, "Quick IP Ver 1.0" End Private Sub cmdmasuk_click() MenuUtama.Show

More information

[Borang Permohonan] Application Form

[Borang Permohonan] Application Form MANUAL OPERASI SISTEM PERMOHONAN KEMASUKAN EKSEKUTIF DAN PBJJ MANUAL OPERATION EXECUTIVE PROGRAMME ADMISSION APPLICATION SYSTEM (MSKPKP) [Borang Permohonan] Application Form page ISI KANDUNGAN [Contents].0

More information

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS

More information

(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0.

(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0. B 114 18 (1) 18.1 52 54 Trump http://www.ss.u-tokai.ac.jp/~ooya/jugyou/joronb/trumpbmp.exe (1) (2) Trump 18.2 (1) Trump ExampleU ExampleP (2) Name Caption FormMain 18.3 (1) TrumpU (2) Name Caption FormTrump

More information

Delphi XE2. evelopment. Delphi XE2 ios Development 2 nd edition, 1 st May 2012

Delphi XE2. evelopment. Delphi XE2 ios Development 2 nd edition, 1 st May 2012 Delphi XE2 evelopment Delphi XE2 ios Development 2 nd edition, 1 st May 2012 Author: Bob Swart (aka Dr.Bob) Bob Swart Training & Consultancy (ebob42) Table of Contents 1. Configuring Delphi XE2 for ios

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2013 MEMORANDUM MARKS: 120 This memorandum consists of 29 pages. Information Technology/P1 2 DBE/Feb. Mar. 2013 GENERAL INFORMATION

More information

Connect for SAP (NetWeaver)

Connect for SAP (NetWeaver) Connect for SAP (NetWeaver) Demo Guide 1 Structure of Connect for SAP Demo Applications... 3 2 Connect for SAP Client Demos... 4 2.1 Simple Connection to the SAP Server and Call RFC_PING... 4 2.2 Test

More information

Manual Pengguna. PCN Online Service Fulfillment System

Manual Pengguna. PCN Online Service Fulfillment System System 1 Subjek Muka Surat 1) CARTA ALIR SISTEM 2 2) PERMOHONAN OLEH AGENSI 3 3) PENGESAHAN PERMOHONAN OLEH MAMPU 8 4) LAMPIRAN 13 2 Carta alir sistem 3 PERMOHONAN OLEH AGENSI 4 Membuat permohonan baru

More information

MesuInstru.dproj 07/05/ :53:24

MesuInstru.dproj 07/05/ :53:24 MesuInstru.dproj 07/05/2011 19:53:24 Page 1 sur 3 1: library MesuInstru; 2: 3: uses 4: Windows, 5: Messages, 6: Classes, 7: Dialogs, 8: Forms, 9: SysUtils, 10: UInstrument in 'UInstrument.pas'; 11: 12:

More information

Table of Contents Foreword Introduction About the book About the author Contact information Chapter 1: What is FireMonkey?

Table of Contents Foreword Introduction About the book About the author Contact information Chapter 1: What is FireMonkey? Table of Contents Foreword... Page 10 Introduction... Page 11 About the book... Page 11 About the author... Page 11 Contact information... Page 11 Chapter 1: What is FireMonkey?... Page 12 Chapter 2: How

More information

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid

More information

THREE. Multiple windows

THREE. Multiple windows THREE Multiple windows Often in a Windows application it is convenient to have more than one window in use. This provides a natural way of breaking down a large and complex project into a number of simpler

More information

LAMPIRAN : LISTING PROGRAM

LAMPIRAN : LISTING PROGRAM LAMPIRAN : LISTING PROGRAM Kode Program Form Login Private Sub cbolevel_click() If cbolevel.text = "Pengguna" Then txtlogin.enabled = False txtpass.enabled = False txtlogin.visible = False txtpass.visible

More information

NASIONALE SENIOR SERTIFIKAAT GRAAD 12

NASIONALE SENIOR SERTIFIKAAT GRAAD 12 NASIONALE SENIOR SERTIFIKAAT GRAAD 12 INLIGTINGSTEGNOLOGIE V1 FEBRUARIE/MAART 2016 MEMORANDUM PUNTE: 150 Hierdie memorandum bestaan uit 31 bladsye. Inligtingstegnologie/V1 2 DBE/Feb. Mrt. 2016 ALGEMENE

More information

Object Pascal Language Guide

Object Pascal Language Guide Object Pascal Language Guide Borland Object Pascal Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Borland Software Corporation may have patents and/or pending

More information

Coding Standards Document

Coding Standards Document CHAPTER IN THIS CHAPTER Introduction 218 General Source Code Formatting Rules 218 Object Pascal 219 Files 228 Forms and Data Modules 231 Packages 233 Components 234 Coding Standards Document Updates 235

More information

Delphi by Design. One-Step ActiveX - Part 2

Delphi by Design. One-Step ActiveX - Part 2 Delphi by Design Introduction Past Articles Source Code One-Step ActiveX - Part 2 by Ray Konopka April/May 1998, Vol. 9, No. 1 -- Download Source Code: Click Here It takes only one step to make a working

More information

Windows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3

Windows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3 B 103 16 Windows mine sweeper 16.1 n 16.2 Jirai JiraiU.pas JiraiP.dpr Form Name FormJirai Caption Position podesktopcenter 16.3 3 B 104 16.3.1 RadioGroup Algn altop Name RadioGroupSize Caption Columns

More information

12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs

12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs 12.1 Chapter Overview Most assembly language code doesn t appear in a stand-alone assembly language program. Instead, most assembly code is actually part of a library package that programs written in a

More information

Exercises for Delphi Advanced Programming Technology (English Version)

Exercises for Delphi Advanced Programming Technology (English Version) Exercises for Delphi Advanced Programming Technology (English Version) School: School of Information Engineering Department: Department of Electronic and Information Engineering Author: Sun Zhaoyun Exercises

More information

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS

More information

Graphics Programming with GDI and Fonts

Graphics Programming with GDI and Fonts Graphics Programming with GDI and Fonts CHAPTER 8 IN THIS CHAPTER Delphi s Representation of Pictures: TImage 276 Saving Images 278 Using the TCanvas Properties 280 Using the TCanvas Methods 301 Coordinate

More information

Delphi XML-Beispiel-Code

Delphi XML-Beispiel-Code XML-Beispiel-Code program DomCreate; uses Forms, CreateForm in 'CreateForm.pas' {Form1}; {$R *.RES} Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run;. CreateForm.pas unit

More information

Adventures in Messaging

Adventures in Messaging Adventures in Messaging CHAPTER 3 IN THIS CHAPTER What Is a Message? 130 Types of Messages 131 How the Windows Message System Works 132 Delphi s Message System 133 Handling Messages 134 Sending Your Own

More information

LAMPIRAN Lampiran Utama. a. Struktur Organisasi

LAMPIRAN Lampiran Utama. a. Struktur Organisasi LAMPIRAN 5.1. Lampiran Utama a. Struktur Organisasi b. Flowchart Prosedur Penggajian PT Timatex c. Coding List Class Koneksi package ta_552012010_aprilia; import java.sql.*; public class koneksi { private

More information

DOKUMEN TIDAK TERKAWAL

DOKUMEN TIDAK TERKAWAL Halaman: 1/12 Tujuan : Arahan kerja ini adalah untuk menerangkan tatacara pendaftaran ID Pengguna di dalam Sistem Kewangan SAGA (Standard Accounting for Government Agencies) Universiti Putra Malaysia bagi

More information

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document.

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document. Writing Scripts Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Related pages Script Editor Tools Scripting System Panels Parent page: Scripting Writing Scripts There a number of

More information

Creating a Webserver in 5 minutes using kbmmw!

Creating a Webserver in 5 minutes using kbmmw! Creating a Webserver in 5 minutes using kbmmw! kbmmw is a complete framework for building middleware/n-tier systems typically consisting of application servers and clients. One of the many advantages of

More information

Agenda. Encuentro de Usuarios Delphi 12/03/2012

Agenda. Encuentro de Usuarios Delphi 12/03/2012 Encuentro de Usuarios Delphi Jorge L. Cangas info@danysoft.com Agenda 09:50 Bienvenida 10:00 FireMonkey 11:15 LiveBindings 12:00 Café 12:30 VCL Styles 13:15 DataSnap y Web 14:25 Preguntas 1 FireMonkey

More information

Part 1 The first steps

Part 1 The first steps course DELPHI FOR ELECTRONIC ENGINEERS Part 1 The first steps Detlef Overbeek & Anton Vogelaar This article is the first part in a series about programming in Delphi, which concentrates on the practical

More information

Annales UMCS Informatica AI 1 (2003) UMCS. Concurrent programming and futures. Andrzej Daniluk

Annales UMCS Informatica AI 1 (2003) UMCS. Concurrent programming and futures. Andrzej Daniluk Annales Informatica AI 1 (2003) 303-308 Concurrent programming and futures Andrzej Daniluk Institute of Physics, Maria Curie-Skłodowska University, Pl. M.Curie-Skłodowskiej 1, 20-031 Lublin, Poland Annales

More information

Eastern Mediterranean University School of Computing and Technology. ITEC319 Rapid Application Development

Eastern Mediterranean University School of Computing and Technology. ITEC319 Rapid Application Development Eastern Mediterranean University School of Computing and Technology ITEC319 Rapid Application Development Database Operations The simplest type of database is the local database. A local database is a

More information

Nhập môn. Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI. Phụ lục

Nhập môn. Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI. Phụ lục Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI Nhập môn Phụ lục TỰA ĐỀ Trang Giới thiệu thông tin 2 Tóm lượt môi trường lập trình Delphi 3 Bài 1 Chương trình Delphi đơn giản nhất 4 Bài 2 Sử

More information

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan. Conference Manager Roles Guide - PENGGUNA MANUAL Login. Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

More information

Writing Delphi Custom Components

Writing Delphi Custom Components Writing Delphi Custom Components CHAPTER 21 IN THIS CHAPTER Component Building Basics 930 Sample Components 958 TddgButtonEdit Container Components 976 Component Packages 987 Add-In Packages 998 Summary

More information

The Mechanics of Charged Particles

The Mechanics of Charged Particles The Mechanics of Charged Particles Original 15/07/2005 Updated 19/05/2008 Posted on ViXra 21/04/2013 The following notes are an attempt to simply and understand how charged particles work in terms of waves

More information

Fundamentals of Database Development (with Delphi) DB/1

Fundamentals of Database Development (with Delphi) DB/1 Fundamentals of Database Development (with Delphi) DB/1 Chapter one of the free Delphi database online course. Delphi as the database programming tool, Data Access with Delphi...just a few words, Building

More information

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Classroom Reservation User Manual (HEA) PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Table of Contents CLASSROOM RESERVATION MANAGEMENT SYSTEM - APLIKASI... 2 Apa

More information