Add Increment and AddAssign Expressions #283
TheBrambleShark
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
These are just quality of life improvements for developers. Although the language has support for
myNumber++
andmyNumber += anotherNumber
, UiPath has no way to use these directly. The best we have currently is to use the Assign activity and manually add the correct number.An AddAssign and Increment expression would be the first step in promoting this functionality in UiPath. The following are sample implementations of these expressions from my own code base. I multitarget from net462 up through net7.0, hence the ifdefs, which may be excluded in the official implementation (or included for whenever we update to Net7 or Net8). Nullable is enabled in this context, hence the
null!
declarations.If this is something we are interested in, I am interested in implementing these features, though I'll break these out into two separate issues/PRs.
Beta Was this translation helpful? Give feedback.
All reactions