โค้ด
kóotMeanings
1NounA2
code (identifier)
a short sequence of characters or numbers that identifies something (e.g., promo code, error code)
Examples
กรอกgrɔ̀ɔkกรอกgrɔ̀ɔk1to fill in; enter2to pour (into); decantโค้ดkóotโค้ดkóot1code (identifier)2code (programming)3code (set of symbols/rules)4[to] code (program)ลดราคาlót-raa-kaaลดราคาlót-raa-kaa1[to] discount; [to] reduce the price2on sale; discountedเพื่อpʉ̂ʉaเพื่อpʉ̂ʉa1for; in order to2for the sake of; on behalf ofรับrápรับráp1[to] receive; get2[to] accept3[to] pick up; collect4[to] admit; confess5[to] take (a call/order/job)6[to] host; welcome7[to] withstand; bearส่วนลดsùuan-lótส่วนลดsùuan-lótdiscount; markdownทันทีtan-tiiทันทีtan-tiiimmediately; at once
Enter the discount code to get an instant reduction.
3 more examplesShow less
ฉันchǎnได้รับdâi-rápโค้ดkóotยืนยันyʉʉn-yanทางtaangข้อความkɔ̂ɔ-kwaamแล้วจึงlɛ́ɛo-jʉngใส่sàiในnaiแอปɛ́p
I received a verification code by text and then entered it in the app.
If the cashier can't scan it, type in the coupon code instead.
ระบบrá-bòpแสดงsà-dɛɛngโค้ดkóotข้อผิดพลาดkɔ̂ɔ-pìt-plâatE404ทำtamให้hâiเราraoตรวจdtrùuatหาสาเหตุhǎa-sǎa-hèetได้dâaiเร็วขึ้นreo-kʉ̂n
The system shows error code E404, which helps us find the cause faster.
2NounB1
code (programming)
instructions written in a programming language for a computer to execute
Examples
ฉันchănฉันchăn1I; me2[to] eat (of Buddhist monks and novices)เขียนโค้ดkĭian kóhtเขียนโค้ดkĭian kóht[to] write code; [to] programง่ายngâaiง่ายngâai1easy; simple2easily; readilyๆ-ให้hâiให้hâi1[to] give; provide2[to] allow; let; permit3[to] have [sb] do; cause to4for (benefit of)5so that; in order to6until; to the point that (result)คอมพิวเตอร์kom-piu-dtêrคอมพิวเตอร์kom-piu-dtêr1computer2computer [attrib.]แสดงsà-daengแสดงsà-daeng1[to] show; demonstrate2[to] perform; act; put on (a show)3[to] express4[to] present; exhibitคำว่าkam wâaคำว่าkam wâathe word/term (introductory marker)สวัสดีsà-wàt-deeสวัสดีsà-wàt-deehello; hi; goodbye
I wrote simple code for the computer to display the word “Hello.”
3 more examplesShow less
โค้ดkóotส่วนsùuanนี้níiสั่งให้sàng-hâiโปรแกรมbproo-grɛɛmตรวจสอบdtrùuat-sɔ̀ɔpว่าwâaผู้ใช้pûu-cháiกรอกรหัสgrɔ̀ɔk-rá-hàtผ่านpàanถูกtùukหรือไม่rʉ̌ʉ-mâi
This piece of code instructs the program to check whether the user entered the correct password.
ถ้าtâaโค้ดkóotมีบั๊กmii-bákโปรแกรมbproo-grɛɛmจะjàทำงานtam-ngaanผิดพลาดpìt-plâatหรือrʉ̌ʉหยุดทำงานyùt-tam-ngaanกลางคันglaang-kan
If the code has a bug, the program will malfunction or stop midway.
นักnákพัฒนาแยกโค้ดpát-tá-naa-yɛ̂ɛk-kóotเป็นbpenโมดูลmoo-duunเพื่อให้pʉ̂ʉa-hâiง่ายngâaiต่อdtɔ̀ɔการทดสอบgaan-tót-sɔ̀ɔpและlɛ́บำรุงรักษาbam-rung-rák-sǎaในnaiระยะยาวrá-yá-yaao
Developers separate code into modules to make it easier to test and maintain in the long term.
3NounB1
code (set of symbols/rules)
a system of symbols, characters, or rules used to represent information or keep messages secret; a set of conventions
Examples
เขียนkĭianเขียนkĭian1[to] write2[to] draw; sketch3[to] fill out; write in4[to] compose; author5[to] write (data); burn (a disc)ข้อkôข้อkô1item; point; clause2classifier: items/points/clauses/questions3joint (anatomy)4condition; term5node; joint; segment (botany/zoology)ความเป็นkwaam bpenความเป็นkwaam bpen1being; existence2state/quality of being (X)โค้ดkóhtโค้ดkóht1code (identifier)2code (programming)3code (set of symbols/rules)4[to] code (program)ง่ายngâaiง่ายngâai1easy; simple2easily; readilyๆ-เพื่อpêuuaเพื่อpêuua1for; in order to2for the sake of; on behalf ofส่งสัญญาณsòng săn-yaanส่งสัญญาณsòng săn-yaan[to] signal; [to] send a signalลับlápลับláp1secret; confidential2[to] sharpen3private; out of sight; secluded4secretly; in private; on the sly5[to] disappear; recede; pass from sightให้hâiให้hâi1[to] give; provide2[to] allow; let; permit3[to] have [sb] do; cause to4for (benefit of)5so that; in order to6until; to the point that (result)เพื่อนpêuuanเพื่อนpêuuan1friend2classmate; colleague (peer)3companion; fellow
Write a simple code to send a secret signal to a friend.
3 more examplesShow less
ในnaiสงครามsǒng-kraamผู้pûuสื่อสารsʉ̀ʉ-sǎanใช้cháiโค้ดkóotเสียงsǐiangเพื่อpʉ̂ʉaป้องกันbpɔ̂ng-ganศัตรูsàt-dtruuดักdàkฟังfang
In war, communicators use a sound code to prevent the enemy from eavesdropping.
คนkonในnaiชมรมchom-romตกลงdtòk-longใช้cháiโค้ดkóotคำkamเฉพาะchà-pɔ́เวลาwee-laaเจอกันjəə-ganเพื่อpʉ̂ʉaยืนยันตัวตนyʉʉn-yan-dtuua-dton
Members of the club agreed to use specific code words when meeting to verify identity.
กฎgòtมารยาทmaa-rá-yâatที่tîiไม่ได้mâi-dâaiเขียนkǐianไว้wáiก็gɔ̂เป็นbpenโค้ดkóotทางสังคมtaang-sǎng-komที่tîiทุกคนtúk-konเข้าใจกันkâo-jai-ganโดยปริยายdooi-bpà-rí-yaai
Unwritten etiquette is a social code that everyone implicitly understands.
4VerbB1
[to] code (program)
to write computer programs or instructions
Examples
คืนนี้keun néeคืนนี้keun née1tonight (the night of today)2tonightฉันchănฉันchăn1I; me2[to] eat (of Buddhist monks and novices)จะjàจะjà1will; shall (future/intention marker)2about to; going to (near future, often w/ กำลังจะ)3will; would (in conditional results)โค้ดkóhtโค้ดkóht1code (identifier)2code (programming)3code (set of symbols/rules)4[to] code (program)แอปáepแอปáepapp; application (software)ง่ายๆngâai ngâaiง่ายๆngâai ngâai1easy; simple; uncomplicated2plain; low-key; informal3simply; casually; without much effort4easygoing; not fussy (of a person)เพื่อpêuuaเพื่อpêuua1for; in order to2for the sake of; on behalf ofฝึกfèukฝึกfèuk1[to] practice; train (oneself); exercise (a skill)2[to] train; coach (someone)3[to] drill; discipline (sb)เขียนโปรแกรมkĭian bpro-graemเขียนโปรแกรมkĭian bpro-graem[to] program; [to] code
Tonight I will code a simple app to practice programming.
3 more examplesShow less
เขาkăoชอบchôpโค้ดสคริปต์kóht sà-grípอัตโนมัติàt-noh-mátเพื่อให้pêuua hâiคอมพิวเตอร์kom-piu-dtêrทำงานtam ngaanแทนtaenคนkon
He likes to code automation scripts so the computer does the work instead of people.
เราraoจะjàโค้ดkóotฟังก์ชันใหม่fang-chan-màiนี้níiร่วมกันrûuam-ganแล้วlɛ́ɛoทดสอบtót-sɔ̀ɔpด้วยdûuaiตัวอย่างdtuua-yàangข้อมูลkɔ̂ɔ-muunจริงjing
We will code this new function together and then test it with real data samples.
ถ้าtâaเราraoวางwaangโครงสร้างkroong-sâangดีdiiตั้งdtângแต่แรกdtɛ̀ɛ-rɛ̂ɛkการgaanโค้ดkóotฟีเจอร์fii-jə̂əเพิ่มเติมpə̂əm-dtəəmจะjàไหลลื่นlǎi-lʉ̂ʉnและlɛ́ลดlótบั๊กbákได้dâaiมากmâak
If we structure things well from the start, coding additional features will flow smoothly and greatly reduce bugs.
Tones
See how the spelling sets each syllable's tone, step by step.
How the tone is decided
- Consonant classLow class
- Tone markMai tho
- Syllable endingDead syllableNot needed here: the tone mark decides.
Low class consonants
คฅฆงชซฌญฑฒณทธนพฟภมยรลวฬฮ
Result
High tone
kóot
Starts high and keeps climbing.
Low class + Mai tho → High
Tone chart
Every class and spelling pattern, with this syllable outlined.
| Mid class | High class | Low class | |
|---|---|---|---|
| No mark + live | Mid | Rising | Mid |
| No mark + dead short | Low | Low | High |
| No mark + dead long | Low | Low | Falling |
| Mai ek | Low | Low | Falling |
| Mai tho | Falling | Falling | High |
| Mai tri | High | — | — |
| Mai chattawa | Rising | — | — |