What is the convention for ending lines? I'm following a course where ; is the correct way but it throws an error whenever I attempt it.
The way I separated two OnStart Set() functions was
Set(someVar1, value1)
+
Set(someVar2, value2)
Is this correct?
Solved! Go to Solution.
Consider this:
Set(someVar1, value1);Set(someVar2, value2)
If you want to add the variables:
someVar1+someVar2
if the addition is also a variable:
Set(Added,someVar1+someVar2)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Consider this:
Set(someVar1, value1);Set(someVar2, value2)
If you want to add the variables:
someVar1+someVar2
if the addition is also a variable:
Set(Added,someVar1+someVar2)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Thanks, seems to work. Strange that I can't declare them on separate lines
it could be on separate lines:
Set(someVar1, value1);
Set(someVar2, value2)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.Set(someVar2, value2)
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
215 | |
209 | |
84 | |
57 | |
36 |