cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Barvaz
Level 6

One liners

Hi,

How can i write if command in one line?

for example in Perl we can write:

X=1;
print ("Example") if ($X);


Please advice.
Thanks,
Labels (1)
0 Kudos
(1) Reply
skolte
Level 7

something like this?
if(x = "1") then MessageBox("x=" + x,0);
endif;
0 Kudos