Show string length in StatusBar during coding
Posted: Tue Nov 20, 2007 1:58 pm
You know how the StatusBar shows the command syntax when typing a
command (eg. MessageRequester), it'd be nice when typing a literal string
for the StatusBar to show it's length.
So if I typed this so far in the editor...
...then the StatusBar could show "String length: 5" or similar. Because when
using the Left, Right and Mid commands, you often have to specify a length
for them, which means counting the string manually yourself.
What I mean is, let's say I've coded the following line...
...you can see that I then have to count all the characters in the string by
myself, and then type that number after the comma. I hate doing that.
It'd be nice to have the editor count it as I type the string, so when I'm
done typing I can see the length and just go back and type the number
after the comma. Does that make sense?
command (eg. MessageRequester), it'd be nice when typing a literal string
for the StatusBar to show it's length.
So if I typed this so far in the editor...
Code: Select all
Debug "hello
using the Left, Right and Mid commands, you often have to specify a length
for them, which means counting the string manually yourself.
What I mean is, let's say I've coded the following line...
Code: Select all
If Left(a$,)="how long is this string"
myself, and then type that number after the comma. I hate doing that.
It'd be nice to have the editor count it as I type the string, so when I'm
done typing I can see the length and just go back and type the number
after the comma. Does that make sense?