[identity profile] squizz.livejournal.com posting in [community profile] ru_translate
Как правильно перевести на русский термин statement, если речь идет о языке JavaScript?
Пример: "For example, the statement <script src="javascript.js"></script> attaches the file javascript.js to the web page".
Заранее спасибо.

UPD: более адекватная цитата: "For example, the statement var the type = typeof theVar returns the variable type of the variable theVar and stores the value into the variable theType".

Date: 2006-03-09 06:55 pm (UTC)
From: [identity profile] balaganski.livejournal.com
Корректный аналог statement в смысле языков программирования - "оператор", наверное. Но то, что у вас приведено в примере - это точно не оператор, да и не statement тоже :)

Date: 2006-03-09 07:07 pm (UTC)
From: [identity profile] balaganski.livejournal.com
"In programming, a statement is an instruction to execute something that will not return a value."

Но html в этом смысле не язык программирования. В данном случае, наверное, и "инструкция" сойдет. Или "конструкция" :)

Date: 2006-03-09 07:26 pm (UTC)
From: [identity profile] balaganski.livejournal.com
То, что вы привели в цитате - это не JavaScript :)

Profile

ru_translate: (Default)
Тотальный перевод

September 2017

S M T W T F S
      1 2
3 4567 89
10 11 1213 14 15 16
1718192021 22 23
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 11:34 am
Powered by Dreamwidth Studios