Hi again
The line d$ = “width of screen is “ in the snippet of code below gives an error.
As does a catencation using it such as p$ = “width of screen is “ & a$
These look pretty much like the examples such as T$ = "Result is " & M$ in your help section.
Why don’t my statements work?
graphics
a$ = screen_width()
d$ = “width of screen is “
b$ = screen_height()
draw text d$ at 40,40
draw text a$ at 100,40
draw text b$ at 30,60
Also sorry to hear this app is closing down. I am enjoying it.
Ken
Strings
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Strings
Thanks, works beautifully holding down the quote mark key and selecting the old fashioned quote mark.. I should have checked other questions first.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Strings
You can shut off the new quotes and apostrophe at Settings/Keyboard/Smart Punctuation. Turn the switch to Off and you will always type the standard quote and apostrophe. You can easily switch Smart Punctuation on temporarily for other text work, but be sure it is off before you open Smart Basic.
The only thing that gets me down is gravity...