1 / 7

Dasar-dasar pemrograman I

Dasar-dasar pemrograman I. Organisasi File Database. Pembuatan : create [path] namafile Struktur : Nama field Maksimum 10 karakter Didahului dengan huruf Tidak boleh menggunakan : , spasi [ ] < > ; :. Tipe Data; Character (C) Huruf , angka , tanda baca Maksimum 254 huruf

ava-harmon
Download Presentation

Dasar-dasar pemrograman I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dasar-dasarpemrograman I

  2. Organisasi File Database • Pembuatan: • create [path] namafile • Struktur: • Nama field • Maksimum 10 karakter • Didahuluidenganhuruf • Tidakbolehmenggunakan: , spasi [ ] < > ; :

  3. Tipe Data; • Character (C) • Huruf, angka, tandabaca • Maksimum 254 huruf • Numerik (N) • Maksimum digit angka 19 termasukdibelakangdesimal • Maksimum field 20 karaktertermasuktitikdesimaldan +/- • Float (F) • Samadengantipenumerik, berbedadalamkecepatanpengolahandantingkatketelitian

  4. Date (D) • Lebar field 8 karakter: mm/dd/yy • Logical (L) • Benar/true=1 atausalah/false=0 • Memo • Panjanglebihdari 254 karakter • Padasaatpenyimpananotomatismembentuk file memo (*.fpt) • Mengisi record • Sintaks: append [blank]

  5. Mengaktifkan file database • Use namafile • Melihatisi record • List [namafield] • Dislpay structure • Go <no_record> • Display • Display record <no_record>

  6. Melihat record berdasarkankriteria • List [namafield] for <kriteria>

  7. Latihan • Buatlah minimal 3 file database (tabel) yang salingberelasi • Tentukankuncipadamasing-masing file

More Related