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' );"
And the same with Procedures...
Example:
1.) Type "Driv" and then used code assistance to get "Driver_Appt.errorMessage"
2.) Manually wrap code-assist variable in my function to become
"Joblog(99:'Err: ' + %trim(Driver_Appt.errorMessage) );"
But, if I try to get code assist in my procedure(function), it IGNORES my request for code-assist. Oh well
So much for using more modern techniques with RDI. That are actually over 22-years old. <Sigh>
Once again, my Microsoft developers are laughing out loud, as I scream at my screen. Oh well...
Guess I always have to do work around. Code Assist is AWESOME when it works!
On the procedure, it does give me AWESOME help on the parameters HOWEVER. Oh well...
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Tyler, Matt
Sent: Thursday, November 1, 2018 10:04 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.4.0.6 Code assist errors with parentheses
The line is technically in error because you have not closed out the parentheses. Have you tried adding the right parenthesis first?
-Matt
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Thursday, November 1, 2018 8:00 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] RDI 9.4.0.6 Code assist errors with parentheses
Hi,
Using RDI 9.4.0.6 code assist is not working...
Does RDI allow parentheses? Is that "legal" syntax?
Parentheses are allowed in RPGLE. But RDI does not recognize it? Huh? Why not?
So, I type this statement: "if ( myV". Then RDI goes crazy! Yikes! I get squiggles throughout all my code!
Yes, my outline-View is complete REFRESHED. <Big Smile>
After I manually finish my statement, without the cool feature of Code-Assist, then the Errors go away. But, Code Assistance is NOT allowed. <strange>
If ( myVariable = 'abc');
// it worked...
Endif;
PS. Dummy sample code. Oh well, back to old manual typing like SEU. Yuck!
-Ken Killian-
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=PPh8AOfHA2Z2OK5a16wxHkWUQQgR9DCEWmGAkhvicp8&s=89L90lB6ZNBLXJ2WfbJ7rF4Ke4jCQodB3HE0FzN-LJQ&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=PPh8AOfHA2Z2OK5a16wxHkWUQQgR9DCEWmGAkhvicp8&s=nt6Paf3i8CvT0uhBtrwcr487sSYovI2mipfNCfLK1EY&e=.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=PPh8AOfHA2Z2OK5a16wxHkWUQQgR9DCEWmGAkhvicp8&s=ctMrjEayCcBMpApjxPYGLBKNTfjYpJp878o9LLA-7YA&e=
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.