Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Concepts > White-Space Characters in Siebel eScriptWhite-space characters (space, tab, carriage-return, and newline) govern the spacing and placement of text. White space makes code more readable for the users, but the Siebel eScript interpreter ignores it. Lines of script end with a carriage-return character, and each line is usually a separate statement. (Technically, in many editors, lines end with a carriage-return and linefeed pair, var x=a+b White space separates identifiers into separate entities. For example, Many programmers use spaces and not tabs, because tab size settings vary from editor to editor and programmer to programmer. If programmers use only spaces, the format of a script appears the same on every editor. CAUTION: Siebel eScript treats white space in string literals differently from other white space. In particular, placing a line break within a string causes the Siebel eScript interpreter to treat the two lines as separate statements, both of which contain errors because they are incomplete. To avoid this problem, either keep string literals on a single line or create separate strings and associate them with the string concatenation operator. var Gettysburg = "Fourscore and seven years ago, " + For more information about string concatenation, read String Concatenation Operator in Siebel eScript. |
Siebel eScript Language Reference |