July 11, 2025, 10:06:09 AM
Main Menu
Main Menu
Home
Search
Four Js Development Tools Forum
►
Discussions by product
►
Genero BDL
►
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
Started by Benjamin G., April 04, 2022, 09:11:43 PM
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Benjamin G.
Posts: 135
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
April 04, 2022, 09:11:43 PM
Hi,
MAIN
define i smallint = NULL
define s string
let s = 'i = ' || Nvl(i,0) USING '<<&' # concatened with ||
display s ------> RESULT = "0"
let s = 'i = ',Nvl(i,0) USING '<<&' # concatened with ,
display s RESULT = 'i = 0'
END MAIN
Regards
Sebastien F.
Posts: 547
Re: Maybe a little bug (fglcomp 4.00.03 rev-82223658)
#1
April 04, 2022, 09:21:19 PM
Hello Benjamin,
The || operator has a higher precedence as USING
Try with parenthesis:
Code
(genero)
Select
Expand
LET s = 'i = ' || (NVL(i,0) USING '<<&')
See:
https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#fgl-topics/c_fgl_operators_CONCATENATE.html
https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#fgl-topics/c_fgl_operators_014.html
Seb
Benjamin G.
Posts: 135
Re: Maybe a little bug (fglcomp 4.00.03 rev-82223658)
#2
April 04, 2022, 09:27:00 PM
Hi,
Yes indeed, the documentation is clear
Sorry
Print
Go Up
Pages
1
User actions
Four Js Development Tools Forum
►
Discussions by product
►
Genero BDL
►
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
User actions
Print