12. If และ Else
int คือการรับค่าที่เป็นตัวเลขจานวนเต็ม
char คือการรับข้อมูลที่เป็นตัวอักษร
if คือเงื่อไขที่เรากาหนด
else คือนอกเงื่อนไขที่เรากาหนด
a คือเมื่อrunโปรแกรมแล้วจะมีเสียง
30. Apprication camera
1. Image >> ดึงข้อมูลมาแสดงหน้าจอ
2. Button >> ปุ่ม (เปลี่ยนชื่อ) >>Properties >>text
3. Media >> เลือก camera
4. Storage (Tiny DB 1)
31. เบ้า 1 ปุ้มเลือกกล้อง
1. Button >> when Button1 click do
>> call Camera 1 Take Picture
-
เบ้าที่ 2 เก็บภาพ
2. เลือก Camera >> when Camera 1 After Picture image do call Tiny DB 1
Tiny DB 1 >>StoreValue
Text >> พิมพ์ “Pic” Variables>> image
32. เบ้า 3 แสดงภาพบนหน้าจอ
1. เลือกImage >> setImage 1 Picture to
2. Tiny DB 1>> call Tiny DB 1 >>Getvalue
3. Tag>>Pic
4. value If tag >> Pic
- บาร์โค้ตสาหรับเชื่อมกับโทรศัพท์