Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Maybe a little bug (fglcomp 4.00.03 rev-82223658) (Read 6973 times)
Benjamin G.
Posts: 130
Maybe a little bug (fglcomp 4.00.03 rev-82223658)
«
on:
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: 545
Re: Maybe a little bug (fglcomp 4.00.03 rev-82223658)
«
Reply #1 on:
April 04, 2022, 09:21:19 pm »
Hello Benjamin,
The || operator has a higher precedence as USING
Try with parenthesis:
Code
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: 130
Re: Maybe a little bug (fglcomp 4.00.03 rev-82223658)
«
Reply #2 on:
April 04, 2022, 09:27:00 pm »
Hi,
Yes indeed, the documentation is clear
Sorry
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...