Navigation

Operators and Keywords

Function List:

C++ API

test_while.m File Reference


Functions

id i ()
 !while (eye(2))%!i++
 !printf_assert ("%d\n", i)
 !assert (prog_output_assert(""))
 !while (--i)%!printf_assert("%d"
!endwhile !printf_assert ("\n")
 !assert (prog_output_assert("4321"))
 !while (i)%!i--
 !printf_assert ("%d", i)
 !assert (prog_output_assert("43210"))
 !while (i++< 20)%!if(i > 2)%!break
 !assert (prog_output_assert("12"))
 !assert (prog_output_assert("34"))

Variables

 !endwhile
 i

Function Documentation

!assert ( prog_output_assert("34")   ) 

!assert ( prog_output_assert("12")   ) 

!assert ( prog_output_assert("43210")   ) 

!assert ( prog_output_assert("4321")   ) 

!assert ( prog_output_assert("")   ) 

!printf_assert ( "%d"  ,
 
)

! endwhile !printf_assert ( "\n"   ) 

!printf_assert ( "%d\n"  ,
 
)

!while ( i++< 20)%!if(i >  2  ) 

!while (  ) 

!while ( --  i  ) 

!while ( eye(2)   ) 

id i (  )  [virtual]


Variable Documentation

i