Show/Hide Toolbars

XSharp Bandol

The X# language knows the following statement types

 

Iteration Statements

 

Keyword

VO

VN

X#

Description

DO WHILE ...

Y

 

 


FOR ... NEXT

Y

 

 


FOREACH ... NEXT

 

Y

 


REPEAT ... UNTIL

 

Y

 


 

Conditional statements

 

Keyword

VO

VN

X#

Description

IF .. ELSE .. ENDIF

Y

 

 


DO CASE

Y

 

 


SWITCH

 

 

Y


 

Other statement types

 

Keyword

VO

VN

X#

Description

Expression statement

Y

 

 


Qout (?,??)

Y

 

 


NOP

 

 

Y


 

Block statements

 

Keyword

VO

VN

X#

Description

BEGIN CHECKED

 

 

Y


BEGIN FIXED

 

 

Y


BEGIN LOCK

 

Y

 


BEGIN SCOPE

 

Y

 


BEGIN UNCHECKED

 

 

Y


BEGIN UNSAFE

 

 

Y


BEGIN USING

 

 

Y


 

Jump statements

 

Keyword

VO

VN

X#

Description

ASYNC ... AWAIT

 

 

Y


EXIT

Y

 

 


LOOP

Y

 

 


RETURN

Y

 

 


YIELD EXIT

 

 

Y


YIELD RETURN

 

 

Y


 

Declaration Statements

 

Keyword

VO

VN

X#

Description

FIELD

Y

 

 


GLOBAL

Y

 

 


LOCAL

Y

 

 


LOCAL IMPLIED

 

Y

 


MEMVAR

Y

 

 


PRIVATE

Y

 

 


PUBLIC

Y

 

 


VAR

 

 

Y


STATIC (LOCAL)

Y

 

 


 

Exception Handling

 

Keyword

VO

VN

X#

Description

BEGIN SEQUENCE

Y

 

 


BREAK

Y

 

 


TRY ... CATCH .. FINALLY

 

Y

 


THROW

 

Y