‼
To give you the best experience, this site uses cookies. Continuing to use
9bis.net
means you agree to our use of cookies.
While_Do_Done
(
en )
Last modification : 2013/01/26 19:17
Index
/
Recent changes
/
News
/
Forum
/
Download
/
Contact
Edit (
Help
) /
Rename
/
History
The first loop syntax is the '''while''' loop. {while {[} ''expr'' {]} do ''command'' done} While the ''expr'' is true the ''command'' is executed. {msh> n=1 ; i=1 msh> while {[} $i -le 10 {]} ; do 1> (( n = $n * $i )) 1> (( i++ )) 1> done msh> print $n 3.6288e+006}
Password :
Wiki utilisant
PumaWiki 1.0
2025/05/09 15:00 -- en -- 3.144.229.52