Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Literals

Certain literals are used for the rule language grammar.

The TIBCO BusinessEvents rule language supports these literals:

int
One or more digits without a decimal. May be positive or negative.

Examples:

    4   45   -321   787878

long
An integer literal suffixed with the letter L. The suffixed L can be either upper or lower case, but keep in mind that the lower case L (l) can be difficult to distinguish from the number one (1).

Examples:

    0l   0777L   0x100000000L   2147483648L   0xC0B0L

double
A number that can represent fractional values. D suffix is optional unless there is no decimal point or exponent.

Examples:

    1D   1e1   2.   .3   0.0D   3.14   1e-9d   1e137

String
Zero or more characters enclosed in double quotes (""). The string must be on one line. Use `\n` for newlines. Use the plus sign (+) to concatenate string segments.

Examples:

- Empty string:`""` (quotes with no space).
- Space character: `" "` (quotes with one or more spaces).
- Strings with values:

      "P0QSTN3" "The quick brown fox had quite a feast!"

- Strings spanning multiple lines:

      "The quick brown fox " +

      "had quite a feast!"

boolean
One of these two values: `true` `false`
Null
This value: `null`

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.