infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Unrecongnizable Lexical token error - IF Statement ct a /
Lynelle Harper
Hi -
I'm trying to do an IF statement that contains a slash, then copy if true
Cloverleaf v6.1.2
IF 2(0).1.(0).RXE(0).#5(0).[0] ct =/
copy 2(0).1(0).RXC(0).#3(0).[0] ->2(0).1(0).RXE(0).#3(0).[0]
I've tried variations but I keep getting the Lexical error
Thanks in advance
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Did you escape it? ct =\/
Lynelle Harper
Yes, with the same results -
[0:TEST] IF expression parse failed: Unrecognizable lexical token
Error occurred at: '\/'
[0:TEST] Unable to compile XLT 'Epic_Orders_to_PyxisES.xlt'.
Jim Kosloskey
What release of CL?
Try COPY =/ to a temp variable then use the Temp Variable in the IF in place of the =/ and see if that takes care of the issue.
You should not have to do this but in some releases of Cloverleaf that was necessary. Hopefully this is not happening in the newest release of Cloverleaf.
Lynelle Harper
I can get past the error if I copy \/ to a variable
copy =\/ ->
@RXE_5_Slash
but then my copy stmt doesnt copy as expected. I'll have to go back and check my test file. Not sure what else to check.
IF 2(0).1(0).RXE(0).#5(0).[0] ct
@RXE_5_Slash
COPY 2(0).1(0).RXC(0).#3(0).[0] -> 2(0).1(0).RXE(0).#3(0).[0]
Lynelle Harper
ok, after posting and then seeing Jim's response, I removed the escape and just did a copy to the variable as copy =/
That worked.
Cloverleaf v 6.1.2
Thanks so much!