|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Ruslan Kosolapov 2:5020/400 21 Sep 2005 10:55:19 To : Valery Shishkov Subject : Re: странного хочется -------------------------------------------------------------------------------- ==[ Valery -> Ruslan: VS>>> Еще бы достаточно вменяемый учебник на русском по Tcl найти... RK>> Зачем? VS> Выучить. :) Таких не видел. VS> Плохо, конечно, но начинать изучение нового языка по англоязычной VS> литературе я не могу. Почему? "Practical Programming in Tcl and Tk" by Brent Welch (ISBN 0-13-182-007-9): The basic syntax for a Tcl command is: command arg1 arg2 arg3 ... The command is either the name of a built-in command or a Tcl procedure. White space is used to separate the command name and its arguments, and a newline or semicolon is used to terminate a command. The arguments to a command are string-valued. Except for the substitutions described below, the Tcl interpreter does no interpretation of the arguments to a command. This is just the opposite of a language like Lisp in which all iden- tifiers are bound to a value, and you have to explicitly quote things to get strings. In Tcl, everything is a string, and you have to explicitly ask for evaluation of variables and nested commands. This basic model is extended with just a few pieces of syntax for grouping, which allows multiple words in one argument, and substitution, which is used with programming variables and nested command calls. The grouping and sub- stitutions are the only mechanisms employed by the Tcl interpreter before it runs a command. Что здесь непонятного? VS>>> Я сам язык имею ввиду. Такое в природе вообще встречается? RK>> Маны видел переведённые. VS> И что, по ним можно язык освоить? Эээ... man tcl вроде вполне вменяемо рассказывает основные принципы, так что по идее можно освоить. -- =[ Причина, по которой мы начинаем войну, - это чтобы вести войну, =[ выиграть войну и, таким образом, чтобы этой войны больше не было =[ -- Джордж Буш --- ifmail v.2.15dev5.3 * Origin: SWSoft Novosibirsk, QA Department Second Manager (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/154146f584265.html, оценка из 5, голосов 10
|