SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > Formulas :: Operator Codes

Formulas :: Operator Codes

7th November 2016

Formula Operator Codes

& - Executable command variable position designator
@ or RESULT - Internal final result field
+ - Addition
- - Subtraction
* - Multiplication
/ - Division
\ - Remainder
! - Exponentiation
¢ or EXIT - Immediate exit from formula
:= - Assignment
|| or CAT - Concatenation; only allowed in the then/else portion of a formula
|> or BCAT - Concatenation with one blank placed between fields; only allowed in the then/else portion
|< or TCAT - Concatenation with trailing blanks truncated from field on left of     concatenation operator; only allowed in the then/else portion
| or OR - Or; only allowed in the if portion of a formula
& or AND - And; only allowed in the if portion of a formula
> or GT - Greater than; only allowed in the if portion of a formula
< or LT - Less than; only allowed in the if portion of a formula
>= or GE - Greater than or equal to; only allowed in the if portion of a formula
<= or LE - Less than or equal to; only allowed in the if portion of a formula
= or EQ - Equals; only allowed in the if portion of a formula
!= or NE - Does not equal; only allowed in the if portion of a formula
’ - A blank space denotes the start or end of an embedded command; valid only in an arithmetic formula
( - Isolates a specific part of a formula; for example (A+B)/C
) - Isolates a specific part of a formula; for example (A+B)/C
? or IF - If
: or THEN - Then
; or ELSE - Else
# or ENDIF - Ends an If statement
- Statement separator


By: on
load('http://www.seanhoppe.com/EXTOL-Blog-Feed2/'); $feed2 = array(); foreach ($rss2->getElementsByTagName('item') as $node2) { $item2 = array ( 'title' => $node2->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node2->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node2->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node2->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed2, $item2); } $limit2 = 5; $rss3 = new DOMDocument(); $rss3->load('http://www.ebithree.com/EBIThree-RSS/'); $feed3 = array(); foreach ($rss3->getElementsByTagName('item') as $node3) { $item3 = array ( 'title' => $node3->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node3->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed3, $item3); } $limit3 = 5; $rss4 = new DOMDocument(); //$rss4->load('http://www.ebithree.com/EBIThree-RSS/'); $rss4->load('http://www.ebiworld.com/EBI-Feed/'); $feed4 = array(); foreach ($rss4->getElementsByTagName('item') as $node4) { $item4 = array ( 'title' => $node4->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node4->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed4, $item4); } $limit4 = 5; echo ' '; ?>