From: Stanislav KROTER Date: Sun, 1 Dec 2013 11:14:23 +0000 (+0600) Subject: Revision of help page for macro X-Git-Tag: 5.5.0~974 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=2df3e198fc2be45b9fde8772ca3ae8b8677a0d07 Revision of help page for macro Added russian translation of this help page. Change-Id: I10fbed7fdb801bf0c22a30096aa264a6f2c58131 --- diff --git a/scilab/modules/functions/help/en_US/macro.xml b/scilab/modules/functions/help/en_US/macro.xml index 7feb6a6..9ea2564 100644 --- a/scilab/modules/functions/help/en_US/macro.xml +++ b/scilab/modules/functions/help/en_US/macro.xml @@ -19,15 +19,15 @@ Description Macros are Scilab procedures ("macro", "function" and "procedure" - have the save meaning). Usually, they are defined - in files with an editor and loaded into Scilab by exec or through + have the save meaning). Usually, they are defined + in files with an editor and loaded into Scilab by exec or through a library. - They can also be defined on-line (see deff). + They can also be defined on-line (see deff). A file which contains a macro must begin as follows: - @@ -37,10 +37,10 @@ function [y1,...,yn]=foo(x1,...,xm) A macro can be compiled for faster execution. Collections of macros can be collected in libraries. Macros which begin with % sign (e.g. %foo) and whose - arguments are lists are used to perform specific - operations: for example, z=%rmr(x,y) is equivalent - to z=x*y when x and z are rationals - (i.e. x=list('r',n,d,[]) with n and d polynomials). + arguments are lists are used to perform specific + operations: for example, z=%rmr(x,y) is equivalent + to z=x*y when x and z are rationals + (i.e. x=list('r',n,d,[]) with n and d polynomials). diff --git a/scilab/modules/functions/help/ja_JP/macro.xml b/scilab/modules/functions/help/ja_JP/macro.xml index 7ea4874..fa4e713 100644 --- a/scilab/modules/functions/help/ja_JP/macro.xml +++ b/scilab/modules/functions/help/ja_JP/macro.xml @@ -21,14 +21,14 @@ マクロはScilabプロシージャ("macro", "function" および "procedure" は同じ意味です)です. 通常,これらはエディタによりファイルの中で定義さえ, - execによりまたは + execによりまたは ライブラリによりScilabにロードされます. - マクロをオンラインで定義することも可能です(deff参照). + マクロをオンラインで定義することも可能です(deff参照). マクロを含むファイルは以下のように開始する必要があります: - @@ -40,11 +40,11 @@ function [y1,...,yn]=foo(x1,...,xm) %記号で始まり(例: %foo), その引数がリストであるマクロは, 特定の処理を実行する際に使用されます: - 例えば, z=%rmr(x,y) は - x および zが - 有理数の場合にz=x*yと等価です. - (すなわち, 多項式n および - d を指定した x=list('r',n,d,[])) + 例えば, z=%rmr(x,y) は + x および zが + 有理数の場合にz=x*yと等価です. + (すなわち, 多項式n および + d を指定した x=list('r',n,d,[])) diff --git a/scilab/modules/functions/help/pt_BR/macro.xml b/scilab/modules/functions/help/pt_BR/macro.xml index 62722af..fb5f1cf 100644 --- a/scilab/modules/functions/help/pt_BR/macro.xml +++ b/scilab/modules/functions/help/pt_BR/macro.xml @@ -10,7 +10,7 @@ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt * --> - + macro Procedimento Scilab e objeto Scilab @@ -19,14 +19,14 @@ Descrição Macros são procedimentos Scilab ("macro", "função" e "procedimento" possuem o mesmo significado). Geralmente, eles são definidos em arquivos - com um editor e carregados no Scilab com exec ou + com um editor e carregados no Scilab com exec ou através de uma biblioteca. - Também podem ser definidos on-line (ver deff). Um + Também podem ser definidos on-line (ver deff). Um arquivo que contém uma macro deve começar como segue: - @@ -37,10 +37,10 @@ function [y1,...,yn]=foo(x1,...,xm) que começam pelo símbolo % (ex.: %foo) e cujos argumentos são listas são usadas para executar operações específicas: por exemplo, - z=%rmr(x,y) é equivalente a z=x*y - quando x e z são racionais (i.e. - x=list('r',n,d,[]) com n e - d polinômios). + z=%rmr(x,y) é equivalente a z=x*y + quando x e z são racionais (i.e. + x=list('r',n,d,[]) com n e + d polinômios). diff --git a/scilab/modules/functions/help/ru_RU/macro.xml b/scilab/modules/functions/help/ru_RU/macro.xml new file mode 100644 index 0000000..cb37ad4 --- /dev/null +++ b/scilab/modules/functions/help/ru_RU/macro.xml @@ -0,0 +1,64 @@ + + + + + макрос + Scilab-процедура и Scilab-объект + + + Описание + + Макросы - это Scilab-процедуры ("макрос", "функция" и + "процедура" имеют одно и то же значение). Обычно они + определяются в файле с помощью редактора и загружаются в + Scilab с помощью функции exec или через + библиотеку. + + + Они могут быть также определены в ходе выполнения программы + (см. deff). Файл, который содержит макрос, должен начинаться следующим образом: + + + + yi - выходные переменные, вычисленные в зависимости от входных переменных и переменных, существующих в Scilab'е в момент исполнения макроса. Макрос может быть скомпилированным для более быстрого исполнения. Коллекции макросов могут быть собраны в библиотеки.are output variables calculated as functions of + input variables and variables existing in Scilab + when the macro is executed. + A macro can be compiled for faster execution. Collections + of macros can be collected in libraries. + + + Макросы, которые начинаются со знака % (например, %foo) и чьи аргументы являются списками, используются для выполнения особых операций: например, z=%rmr(x,y) эквивалентно + z=x*y, когда x и z являются рациональными переменными + (например, x=list('r',n,d,[]), где n и d - полиномы). + + + + Смотрите также + + + deff + + + exec + + + comp + + + lib + + + +