Displaying the content of a field using CR formula editor

Hi guys can anyone help me on how to display the content of the field using formula editor? For example;


if{employee.prevwork} = 'SALES EXECUTIVE' then
   Chr(254)
else
   //display the content of the field...

What language is this? To compare strings and use ifs in C#:

if (employee.prevwork == “SALES EXECUTIVE”)
{
Char(254);
}
else
{

}

The stated code in my post is under Crystal Report, particularly the code was coded in the formula field in my crystal report design.