Sign in Join
Wiki copytemporary

Dec/ru

Deutsch · English · Français · Suomi · Русский

Dec

Процедура Dec (decrement) в языке программирования Pascal позволяет вам легко вычесть 1 (или любое другое значение) из переменной.

Например, используя процедуру Dec (decrement) вы можете уменьшить значение переменной a на 1, как в следующем коде:

pascal
 dec( a );

Если вы хотите уменьшить на 2 (или на любое другое значение):

pascal
 dec( a, 2 );

Процедура Dec включена в модуль System.

См. также


From the Free Pascal wiki, page "Dec/ru", as it stood on 2020-02-12 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.