"syntax" in Chinese (Traditional)
句法
Definition
控制單詞如何組合成句子的規則或結構。在電腦領域也指撰寫指令或程式碼的規則。
Usage Notes (Chinese (Traditional))
屬於學術或正式用語,多見於語言學和電腦領域。'syntax' 只代表句子結構,和詞語意思、用法無關。程式設計時若 'syntax' 有誤,會出現 'syntax error'。
Examples
English syntax usually requires the subject before the verb.
英語的**句法**通常要求主詞在動詞之前。
The syntax of Spanish is different from English.
西班牙語的**句法**與英語不同。
If you forget the syntax, your program won't run.
如果你忘記了**語法**,程式就無法執行。
I'm still getting used to the syntax rules in my new coding language.
我還在適應新程式語言的**句法**規則。
Paying attention to syntax can help you write clearer sentences.
注意**句法**能幫助你寫出更清楚的句子。
She explained the difference between grammar and syntax with simple examples.
她用簡單的例子解釋了語法和**句法**的區別。