I remember that when I used StudioX Enterprise Edition at my previous workplace, I could input structured code into the Assign activity without any errors. Is it the case that the commercial version, the Enterprise Edition, accepts structured code, while the non-commercial version, the Community Edition, does not?
There is no difference between the commercial version and the community version. In VB.net, when splitting a single expression over multiple lines, _ is required. In some cases, it is permissible to omit that implicitly. For more details, please see the links below.
Thank you for your continued support.
I tried adding _ at the end of each line to input the structured code below into the Assign activity, but I encountered a syntax error. If half-width spaces are not ignored, I wonder if it’s not possible to input structured code in UiPath Studio, except for some exceptions.
Even though the generative AI did follow instructions for structured code generation, it didn’t add " _" at the end of the lines, so I trained the generative AI (Copilot and Gemini) on this.