BBC BASIC for Windows
« Capitalised Key Words »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:37pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Capitalised Key Words  (Read 1594 times)
KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: Capitalised Key Words
« Reply #7 on: Jul 19th, 2015, 3:33pm »

The easiest solution is to press Shift and CapsLock together. This will give you capital letters in ordinary typing, but if you hold down Shift it gives you lower case. I find this the most convenient way of programming. (If you don't get what I describe above, try pressing the two keys simultaneously again. Sometimes they don't "take".)
User IP Logged

rtr2
Guest
xx Re: Capitalised Key Words
« Reply #8 on: Jul 19th, 2015, 5:07pm »

on Jul 19th, 2015, 3:33pm, KenDown wrote:
If you don't get what I describe above, try pressing the two keys simultaneously again. Sometimes they don't "take".

On my PC (Windows 8.1) the behaviour you describe is what happens when I press Caps Lock on its own. That is, in normal Caps Lock mode holding down Shift reverts to lowercase. I'm not sure whether Shift+CapsLock is supposed to do something different, but it doesn't seem to here.

Richard.
User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: Capitalised Key Words
« Reply #9 on: Jul 19th, 2015, 9:27pm »

Interesting. I never tried that.

Incidentally, some may wonder why I hold down shift when writing lower case. Would it not be as simple to hold down shift for writing upper case?

The answer is that variables often end with % (for integer variables) or $ (for string variables). As variables should be in lower case, doing it my way means that you can type x% without having to change your hold on the shift key. Thus i%?memlocation% can be typed all in one go while holding down shift from beginning to end.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls