WHILE

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Repeatedly execute statements while condition is true

Usage

Jacket for M Language
    Supported Syntax
    
while expression
   program statements
          :
end
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE   COMPLEX 

Types Not Supported

-  GLOGICAL   GINT32   GINT8   GUINT32   GUINT8 

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/while.html

Notes

  • A GFOR loop may be embedded as the innermost loop in a nested WHILE loop.

See Also

GFOR, END, FOR, BREAK, CONTINUE, RETURN, ALL, ANY, IF, SWITCH

Views