Arco,
Okay a picture might help:
https://imgur.com/a/4WxDuFF
So, my actual variable is qualified Data-structure, and I was trying to get help on the variable:
Driver_Appt.Success. (I made up the example of "myVariable" to keep it simple.)
It works outside of parentheses. But does not work within parentheses.
I do know for FACT, that parentheses are allowed syntax in RPGLE.
But, I cannot get code-assist on variables inside of functions/procedures either! Sad...
https://imgur.com/a/84TPrJq
In this example above, I am trying to get code-assistance on the variable: "Driver_Appt.errorMessage"...
Works PERFECT outside of the function, but inside the function it does NOT WORK. Oh well...
I guess I CANNOT expect it to work like Microsoft Visual Studio. I sadly admit, I expect too much. I need to have patient until it catches up. Or use code assistant on another line, and then cut & paste. Oh well...
But, when code-assist works it is AWESOME!
The OUTLINE-VIEW is 100% accurate. It is not a case of the outline build not refreshed! Oh well...
Patience... I need patience...
So, not to be all Negative, here is work on separate Line!
https://imgur.com/a/poafXGJ
PS. I mistakenly thought code-assistance was supposed to be a timesaver. Not a frustration point. Oh well...
It spoils me, and then it does not work with parentheses? Oh well...
Manage expectations... Oh well.. It is not as good as Microsoft Visual Studio. But, they have been at the IDE game a whole lot longer. So, it will take a long time for RDI to catch up to Microsoft Visual Studio. I understand that... Oh well...
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Arco Simonse
Sent: Thursday, November 1, 2018 10:40 AM
To: wdsci-l <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.4.0.6 Code assist errors with parentheses
With or without closing parentheses, I have no problem with getting code assist on if ( myV
Is your outline view / live parsing in error? Missing library in liblist for include perhaps?
Regards,
-Arco
Op do 1 nov. 2018 om 15:19 schreef Ken Killian <kkillian@xxxxxxxxxxxx>:
Matt,
Nope, sorry to report that does not work either. Code Assist is 100% NOT WORKING, if I use parentheses, a legal syntax.
And as I use more service program and procedure, I can't seem to get
help on my variable names in procedures either. <disappointment>
Oh well get code assist on a separate line, and then wrap as an If Statement. Oh well, a limitation...
"myV" --> use code assist and I get "myVariable". Then afterward put it into an If-statement: "If ( myVariable = 'abc' );"
As an Amazon Associate we earn from qualifying purchases.