3.8 version
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
3.8 version
Titles in file toolbar buttons will be displayed correctly for iPad on iOS 7.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
Possibility to work with iOS clipboard will be added, using commands and functions:
Smart BASIC can work with iOS clipboard, but with important differences.
First difference is capability to store not only one but multiple amount of text and numeric data in the clipboard. Usually new data replaces old data in the clipboard when iOS application saves new data to the clipboard. Smart BASIC instead appends new data to the clipboard while keeping all previous clipboard data. Order of reading data from the clipboard should be the same as order of writing data, because new data are appended to the end of the clipboard and data are read from the beginning of the clipboard.
Second difference is that data is deleted from the clipboard when it is read.
Thus clipboard may serve not only for text exchange between smart BASIC and other iOS applications, but also for data exchange between smart BASIC programs which run each other, because it can store variable amount of string and numeric values.
CLIPBOARD CLEAR
clears clipboard.
CLIPBOARD READ A, B$
reads numeric or string values from the clipboard to specified variables. See clipboard specifications in preface.
CLIPBOARD WRITE A, B$
writes values of specified variables to the clipboard. See clipboard specifications in preface.
CLIPBOARD_COUNT ()
returns number of values available in the clipboard. Check this value before reading from the clipboard because attempt to read from empty clipboard rises an error.
CLIPBOARD_TYPE ()
returns type of next clipboard value available for reading: 0=undefined, 1=number, 2=string.
Smart BASIC can work with iOS clipboard, but with important differences.
First difference is capability to store not only one but multiple amount of text and numeric data in the clipboard. Usually new data replaces old data in the clipboard when iOS application saves new data to the clipboard. Smart BASIC instead appends new data to the clipboard while keeping all previous clipboard data. Order of reading data from the clipboard should be the same as order of writing data, because new data are appended to the end of the clipboard and data are read from the beginning of the clipboard.
Second difference is that data is deleted from the clipboard when it is read.
Thus clipboard may serve not only for text exchange between smart BASIC and other iOS applications, but also for data exchange between smart BASIC programs which run each other, because it can store variable amount of string and numeric values.
CLIPBOARD CLEAR
clears clipboard.
CLIPBOARD READ A, B$
reads numeric or string values from the clipboard to specified variables. See clipboard specifications in preface.
CLIPBOARD WRITE A, B$
writes values of specified variables to the clipboard. See clipboard specifications in preface.
CLIPBOARD_COUNT ()
returns number of values available in the clipboard. Check this value before reading from the clipboard because attempt to read from empty clipboard rises an error.
CLIPBOARD_TYPE ()
returns type of next clipboard value available for reading: 0=undefined, 1=number, 2=string.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
New function will be added:
CLIPBOARD_TYPE (n)
returns type of [n]-th clipboard value available for reading. OPTION BASE affects order number in this function.
CLIPBOARD_TYPE (n)
returns type of [n]-th clipboard value available for reading. OPTION BASE affects order number in this function.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
SET ORIENTATION command will be expanded:
SET ORIENTATION ALL
SET ORIENTATION 0
unlocks orientation.
SET ORIENTATION ALL
SET ORIENTATION 0
unlocks orientation.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
Command RETURN will be able to return value from function.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
Application will be able to receive PUSH notifications, to be used to inform users about publishing of new programs on Support Forum.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.8 version
Version is available on the App Store.