The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

The for statement

The for loop notation has the general form:

   for var in list-of-words
   do
     commands
   done

commands is a sequence of one or more commands separated by a newline or ; (semicolon).

The reserved words do and done must be preceded by a newline or ; (semicolon). Small loops can be written on a single line. For example:

   for var in list; do commands; done

[Home] [Search] [Index]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру