Author |
Topic: Capitalised Key Words (Read 1593 times) |
|
dje4816
New Member
member is offline


Posts: 11
|
 |
Re: Capitalised Key Words
« Reply #5 on: Nov 23rd, 2013, 07:53am » |
|
OK, Richard, I understand even if it's something of a minor nuisance. I'm a refugee from the now no-longer-supported IBasic, which was excellent, and also from Liberty Basic. I guess each of these dialects have pros and cons, but right now I'm getting a lot out of BB4W.
Regards,
Dave.
|
|
Logged
|
|
|
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: Capitalised Key Words
« Reply #6 on: Nov 23rd, 2013, 4:05pm » |
|
on Nov 23rd, 2013, 07:53am, dje4816 wrote:| I'm a refugee from the now no-longer-supported IBasic, which was excellent, and also from Liberty Basic. |
|
I don't want to discourage you from using BBC BASIC, but (as you probably already know) LB Booster (LBB) will actually let you embed BBC BASIC statements - with care - in a Liberty BASIC program! Here's a hybrid LB/BBC program which runs OK:
Code: mainwin 80 24
locate 20, 10
!COLOR 1 : REM Embedded BBC BASIC statement
print "Is this Liberty BASIC or BBC BASIC?" Richard.
|
|
Logged
|
|
|
|
KenDown
Full Member
member is offline


Posts: 181
|
 |
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".)
|
|
Logged
|
|
|
|
rtr2
Guest
|
 |
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.
|
|
Logged
|
|
|
|
KenDown
Full Member
member is offline


Posts: 181
|
 |
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.
|
|
Logged
|
|
|
|
|