1 / 4

Gambas

Gambas. Fungsi dan Penggunaanya. Fungsi yang digunakan. aritmatika: abs, fix, frac, max,min, pi,ranodmize, rnd, round,sqr string:ltrim, rtrim, left, mid, right, len, lower, upper, space, string, split, instr, subst waktu: now, date, year, month,day, time,hour, minute, second,timer.

Download Presentation

Gambas

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. Gambas Fungsi dan Penggunaanya

  2. Fungsi yang digunakan • aritmatika: abs, fix, frac, max,min, pi,ranodmize, rnd, round,sqr • string:ltrim, rtrim, left, mid, right, len, lower, upper, space, string, split, instr, subst • waktu: now, date, year, month,day, time,hour, minute, second,timer. • konversi: asc, cint, cstr, chr

  3. Cara penggunaan... • Digunakan dengan variabel • nama = rtrim("Andii ") • akarnya = sqr (25) • Digunakan dengan property • txtNilaiUH.text = round ( 99.999, 0) • lblNama.text = rtrim ("Susi ")

  4. Harus digunakan bersama perintah lain dan diletakkan di dalam blok program (mis: public sub ... end sub) • public sub btnHitung_click() sm= sqr(st^2 + ss^2) lblSisiMiring.text = smend sub • Bisa digabung dengan fungsi lain.. • txtMax.text=max(val(txtNilai1.text)

More Related