![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Mon, Jul 3 2017 9:32 AM | Permanent Link |
Matthew Jones | Way back in 2013 I asked about making StrToIntDef. Things have moved on, and the test for isNAN no longer applies, because it now throws an exception if it is NaN. However, this is sort of a problem if you are using the Chrome "Break on handled exceptions" and you are using StrToIntDef with a catch on the throw. I seem to have about 60 of these to step past.
Thus it would be good to have a StrToInt that didn't throw, or had a "Try" and somehow returned success/fail and the value. The old way would be fine, or a StrToIntDef actual implementation. I tried to take the Javascript instrinsic but the parseInt isn't accessible. Anyone got any good solutions? Any chance of this in the next update? -- Matthew Jones |
Mon, Jul 3 2017 11:10 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Matthew,
<< Anyone got any good solutions? Any chance of this in the next update? >> There's zero chance of this in the next update, which is going out today or tomorrow (waiting on an EDB build to finish uploading). It's on the list, though, so it will get picked up at some point. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, March 29, 2023 at 10:59 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |