Navigation

Operators and Keywords

Function List:

C++ API

test_global.m File Reference


Functions

id G ()
 !assert (G, 1)%%test/octave.test/global/global-2.m%!function f()%!global G
"G" fail () = ones (3)
 !f ()
id H ()
 !fail ("H")
!test!function g ()%!fail("H")
!test !g ()
 !assert (H, 1)

Variables

!test!global G = 1
 !f
!clear H !g

Function Documentation

!assert ( ,
 
)

!assert ( ,
 
)

!f (  ) 

!fail ( "H"   ) 

!test !g (  ) 

fail (  )  = ones (3) [virtual]

!test !function g (  ) 

id G (  )  [virtual]

id H (  )  [virtual]


Variable Documentation

!test !f

! clear H !g

!test ! global G = 1