String functions issues
-
Just a few issues regarding string functions:
- Calling strReplace with an empty string as either the first or second argument hangs Fuze. Sure, it is a weird thing to do, but it shouldn't hang the entire application...
- If you press the Help button for any function that starts with str, that is strFind, strReplace, etc., you are taken to the Help page for "str()" instead. It is very annoying.
- In the documentation for strFind, maybe you should mention that it returns -1 if the string is not found? Sure, it is easily found by experimenting, but I think it should be there. (And speaking of strFind, isn't the strContains function completely superfluous, since you can easily use strFind instead?)
- The Syntax and Example for strContains is wrong. They seem to be copies of the same text from strBeginsWith instead.
- The Syntax and Example for strReplace is wrong. They seem to be copies of the same text from strFind instead.
- chr() and chrVal() does not have any Associated commands.They should have at least each other as associations.
And another thing that does not have anything to do with strings:
- When looking at the Quick reference Guide in the program editor, it is quite useful for an overview of the function parameters. However, if you want to jump to a particular help page from it, it is necessary to scroll down to the particular function using the up/down buttons on the controller. This takes forever if you want to go to one of the last entries! Please consider making it possible to hold down the buttons for continuous scroll, instead of having to press the button once for each step. Or enable the touch screen for selecting a function from the list.
-
@vinicity Thanks for your detailed feedback. I think that some of this is already known but I will go through it in detail and raise issues as required
-
Thanks!
Regarding my last point, one easy fix would be to support pressing "up" when you are at the top to go to the very last entry, and vice versa. That would cut down on the number of presses a lot.
-
I just put a single parameter in and run and it throws an error screen with the function and all it's variants