<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windevmobile</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Aug 2025 13:15:28 Z</lastBuildDate><pubDate>11 Jun 2025 13:53:55 Z</pubDate><description>I've tried to create two syntaxes of the same procedures just changing its parameter type like the picture (just a dummy example)&#13;
&#13;
&#13;
https://hostimage.windev.io/images/Capturadepantalla20250611133100_02afb7b51a2d8642b4b671e60d1a2fc2.png&#13;
&#13;
If I try to compile, I get this error:&#13;
&#13;
[code:text]&#13;
Error creating the &lt;D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Exe\GesMobile.apk&gt; Android application.&#13;
&#13;
&#13;
Command line: "E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\OpenJDK\bin\java.exe" -Duser.dir="D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen" "-Dorg.gradle.appname=D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen" -classpath "E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\Gradle\lib\gradle-launcher-7.5.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen\build.gradle"&#13;
&#13;
&#13;
Error returned:&#13;
:compileReleaseJavaWithJavac&#13;
D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen\src\com\agsoft\gesmobile\wdgen\GWDCPAndroidProcedures.java:1791: error: -&gt; expected&#13;
();&#13;
  ^&#13;
D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen\src\com\agsoft\gesmobile\wdgen\GWDCPAndroidProcedures.java:1791: error: not a statement&#13;
();&#13;
^&#13;
D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen\src\com\agsoft\gesmobile\wdgen\GWDCPAndroidProcedures.java:1794: error: -&gt; expected&#13;
();&#13;
  ^&#13;
D:\Proyectos\WinDev 2025\My Mobile Projects.Branches\GM.v2025\GESMOBILE_MATUTANO_25\Android\gen\src\com\agsoft\gesmobile\wdgen\GWDCPAndroidProcedures.java:1794: error: not a statement&#13;
();&#13;
^&#13;
4 errors&#13;
&#13;
&gt; Task :compileReleaseJavaWithJavac FAILED&#13;
&#13;
FAILURE: Build completed with 2 failures.&#13;
&#13;
1: Task failed with an exception.&#13;
-----------&#13;
* What went wrong:&#13;
Execution failed for task ':compileReleaseJavaWithJavac'.&#13;
&gt; Compilation failed; see the compiler error output for details.&#13;
&#13;
* Try:&#13;
&gt; Run with --stacktrace option to get the stack trace.&#13;
&gt; Run with --info or --debug option to get more log output.&#13;
&gt; Run with --scan to get full insights.&#13;
==============================================================================&#13;
&#13;
2: Task failed with an exception.&#13;
-----------&#13;
* What went wrong:&#13;
java.lang.StackOverflowError (no error message)&#13;
&#13;
* Try:&#13;
&gt; Run with --stacktrace option to get the stack trace.&#13;
&gt; Run with --info or --debug option to get more log output.&#13;
&gt; Run with --scan to get full insights.&#13;
==============================================================================&#13;
&#13;
* Get more help at https://help.gradle.org&#13;
&#13;
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.&#13;
&#13;
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.&#13;
&#13;
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings&#13;
&#13;
BUILD FAILED in 7s&#13;
34 actionable tasks: 9 executed, 25 up-to-date&#13;
[/code]&#13;
&#13;
I decided to look into java files under Project/Android/gen/Compile looking for what causes this error and I found this:&#13;
https://hostimage.windev.io/images/Capturadepantalla20250611133744_68d0e785639ba1be19e5c99dbf3ce0d9.png&#13;
&#13;
&#13;
If we extract and beautify the code related to my dummy example, we can see this:&#13;
https://hostimage.windev.io/images/Capturadepantalla20250611134131_887e8de37b1b852537ce184f161fa9a1.png&#13;
&#13;
As far as I know Java, this doesn't make sense. Is this a bug when adapting WLanguage code? How can I implement multiple syntaxes and avoid this situation?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/pt-BR/pcsoft.us.windevmobile/3883-multiple-syntaxes-for-java-procedures/read.awp</link><title>Multiple syntaxes for java procedures</title><managingEditor>moderateur@pcsoft.fr (O moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (O webmaster)</webMaster><item><author>Popoy</author><category>pcsoft.us.windevmobile</category><comments>https://forum.pcsoft.fr/pt-BR/pcsoft.us.windevmobile/3883-multiple-syntaxes-for-java-procedures-3896/read.awp</comments><pubDate>13 Aug 2025 13:15:28 Z</pubDate><description>Salut &#13;
A ma connaissance, le multi syntaxe ne fonctionne qu'avec le wlangage &#13;
https://help.windev.com/?1514063</description><guid isPermaLink="true">https://forum.pcsoft.fr/pt-BR/pcsoft.us.windevmobile/3883-multiple-syntaxes-for-java-procedures-3896/read.awp</guid><link>https://forum.pcsoft.fr/pt-BR/pcsoft.us.windevmobile/3883-multiple-syntaxes-for-java-procedures-3896/read.awp</link><source url="https://forum.pcsoft.fr/pt-BR/pcsoft.us.windevmobile/3883-multiple-syntaxes-for-java-procedures/read.awp">Multiple syntaxes for java procedures</source><title>Re: Multiple syntaxes for java procedures</title></item></channel></rss>
