Show/Hide Toolbars

XSharp

An Expression Body is not supported for methods / functions with clipper calling convention

 

Example

This is not allowed

 

FUNCTION Start AS VOID
? Test(1,2)
RETURN
 
FUNCTION Test(a,b) => a + b // error here

 

This is allowed however

 
 
FUNCTION Start AS VOID
? Test(1,2)
RETURN
 
FUNCTION Test(a as usual,b as usual) => a + b // this is Ok