[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:47 pm (UTC)
From: [identity profile] liquidee.livejournal.com
Инструкция.

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

Date: 2006-03-09 07:05 pm (UTC)
From: [identity profile] old-greeb.livejournal.com
Для других языков (Фортрана, например), переводили "оператор" или "предложение".

Date: 2006-03-09 07:12 pm (UTC)
From: [identity profile] valthebald.livejournal.com
Выражение.

Date: 2006-03-09 09:02 pm (UTC)
From: [identity profile] moon-aka-sun.livejournal.com
В зависимости от контекста. В примере с JavaScript приведенный вами "statement" относится как раз не к JavaScript, а к HTML. Я бы перевёл как "фрагмент" или "тэг". В более адекватной цитате - "оператор" без всяких сомнений (хоть он ничего и не returns).

Date: 2006-03-10 08:17 am (UTC)
From: [identity profile] l-ionella.livejournal.com
Конструкция или выражение.
Описываются ведь как раз конструкции языков: JavaScript, HTML - конструкции подключения скрипта, получения-присвоения типа переменной...

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. 22nd, 2025 11:25 am
Powered by Dreamwidth Studios