cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R3dKap
Super User
Super User

Bug in code editor ? Two comments in a row throws an error

Hi,

As you can see in the capture below, putting two comments like /* ... */ with no code in between is considered as an error by the editor:

Image 2.png

Technically, I guess it shouldn't...

Emmanuel

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

You should be able to have two comments in a row. Do you have anything after the comments? Currently you cannot have an expression separator (";;" for fr-FR) as the end of the expression, which seems to be the case for you. If you add a new expression after the comments, or if you remove the separator, then it should work, as in the example below:

TwoComments.gif

View solution in original post

2 REPLIES 2
CarlosFigueira
Power Apps
Power Apps

You should be able to have two comments in a row. Do you have anything after the comments? Currently you cannot have an expression separator (";;" for fr-FR) as the end of the expression, which seems to be the case for you. If you add a new expression after the comments, or if you remove the separator, then it should work, as in the example below:

TwoComments.gif

Hi @CarlosFigueira,

You're totally right... My mistake... Sorry I bothered you and thanks for your answer... 🙂

Cheers,

Emmanuel

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,433)