QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Dav on December 03, 2018, 07:13:38 pm
-
I noticed the QB64 IDE doesn't auto capitalize DECLARE SUB or DECLARE FUNCTION. Is that the intended behavior? Just wondered if it was a bug or not. The IDE seems to auto cap everything else correctly. Perhaps I have some setting turned off?
- Dav
-
DECLARE SUB and DECLARE FUNCTION are probably just depreciated. They were necessary in QBAsic but were made unnecessary in QB64. They d not get capped in y browser, either.
Pete
-
And because these DECLAREs are now unnecessary, I think it's best not to auto-capitalize. If they stay, they don't hurt anything. It seems good behavior, though, to have that indication that they are unnecessary. For those who might have forgotten, or even not known.
-
And because these DECLAREs are now unnecessary, I think it's best not to auto-capitalize. If they stay, they don't hurt anything. It seems good behavior, though, to have that indication that they are unnecessary. For those who might have forgotten, or even not known.
If they're keywords, and not usable as variable names, then they should capitalize for us. A different color in the IDE (such as the one used to designate remarks) would be a better way to indicate depreciation of requirement. ;)
-
The universal replacing needs some tweaking, too. let's say you have variables xx and xx% and you want to make the xx ones xx%. You check
- Whole Word and click Replace all, but xx% gets changed to xx%%. Now try and do the same with changing %% to % with
- Whole Word checked, and it bombs again, telling you the match, which is clearly there, was not found. As tested in ver. 1.2
Pete
-
DECLARE SUB and DECLARE FUNCTION are probably just depreciated. They were necessary in QBAsic but were made unnecessary in QB64. They d not get capped in y browser, either.
Pete
DECLARE SUB/FUNCTION do auto-cap in Dav's IDE.
Dav
Any news on an update to your IDE?
-
Thanks for the info everyone. It just kind of looked odd to me loading some sources and those words didn't cap like other keywords do. Thought maybe it got overlooked.
Any news on an update to your IDE?
Almost ready to put up an update. I just have to finish incorporating syntax help info to the bottom status bar when editing a command, and adding some stuff to the help. It's kind of tedious and time consuming because of how it's added in the code. I sure was hoping to release it Nov 30th (the IDE's birthday), but got too involved in other things that needed done. Still planning to get it up by the end of the year.
- Dav
-
You were supposed to have replied: "Thanks, much depreciated!" Oh well...
Good luck with the update. I'm working on some of that tedious stuff myself in my FireFox Session Manager app right now, so I know the feeling.
Pete :D
-
You were supposed to have replied: "Thanks, much depreciated!" Oh well...
Lol. Yeah well, my word-play skill is awful. Guess I could say that now, but it would be a re-Pete. (see, I'm that bad...)
Good luck with your work too.
- Dav
-
You were supposed to have replied: "Thanks, much depreciated!" Oh well...
Lol. Yeah well, my word-play skill is awful. Guess I could say that now, but it would be a re-Pete. (see, I'm that bad...)
Good luck with your work too.
- Dav
That was so bad, I think it completely Petered out on your audience...
-
Oh come on Steve. When it comes to horrible puns, do you really think you can com-Pete with me?!
Pete :D