3.8 version

Post Reply
User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

3.8 version

Post by Mr. Kibernetik »

Titles in file toolbar buttons will be displayed correctly for iPad on iOS 7.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

SET ORIENTATION command will be expanded:

SET ORIENTATION ALL
SET ORIENTATION 0
unlocks orientation.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

Command RETURN will be able to return value from function.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

Application will be able to receive PUSH notifications, to be used to inform users about publishing of new programs on Support Forum.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.8 version

Post by Mr. Kibernetik »

Version is available on the App Store.

Post Reply