syntax error
常見例句
- It finds one syntax error at a time, so you have to be a little patient to do it, but you can check that the syntax is right.
它一次會(huì)找到一個(gè)語法錯(cuò)誤,所以你們必須要有點(diǎn)耐心,但是你們可以檢查出語法是否正確。 - Invariably, I open the document and find an obvious syntax error such as an empty tag without the closing slash (it should look like this: ).
毫無例外的,我打開文檔后總能找到明顯的語法錯(cuò)誤,比如沒有反斜杠的空標(biāo)簽(應(yīng)該是這樣: )。 - Holding the mouse pointer over a syntax error like this brings up a hover tip describing the problem; in this case, it indicates that it is an incomplete statement requiring a semicolon.
將鼠標(biāo)指針放在出現(xiàn)語法錯(cuò)誤(比如這里的語法錯(cuò)誤)的地方,一會(huì)將出現(xiàn)一個(gè)描述問題的快捷提示;在本例中,它指出語句不完整,還需要一個(gè)分號。 - We'll save it. Well all right, a syntax error.
一個(gè)語法錯(cuò)誤,這經(jīng)常發(fā)生。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - In this case it says, this is a syntax error, and it's actually highlighting where it came from so I can go back and fix it.
在這個(gè)例子中它顯示這是個(gè)語法錯(cuò)誤,并且會(huì)高亮顯示它的位置,以便于我去修改。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - yeah I run this, yeah, I have a syntax error, yes indeed, because I forgot to comment that one out, all right, and cue, we'll try it again.
運(yùn)行下,一個(gè)語法錯(cuò)誤,確實(shí)是,因?yàn)槲彝税堰@里注釋上了,好,讓我們再來試試。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 syntax error