If X > Y then if X < 0 then X := abs(X) else X := 2*X;

It is looking something like conditional operator like we can write :

if ( X > Y ) ? if ( X < 0) ? X= abs( X) : X = 2 * X

associativity from right to left

So, we can write ,

if ( X > Y ) ? ( if ( X < 0) ? X= abs( X) : X = 2 * X)

Anyone confirm is my thinking is correct??