This command will return a code based on the style of the current text settings. The return value will be an integer number of zero for normal, 1 for italic, 2 for bold and 3 for bold italic.

Syntax: 
Return Integer=TEXT STYLE()