4.5 version

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

4.5 version

Post by Mr. Kibernetik »

New function will be added:

TOOLBAR_VISIBLE ()
returns 1 if top control toolbar is visible. Otherwise it returns 0.

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: 4.5 version

Post by Mr. Kibernetik »

DEBUG PAUSE command will be expanded with option:

DEBUG PAUSE X
performs DEBUG PAUSE command, but at first delays for [x] seconds.

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: 4.5 version

Post by Mr. Kibernetik »

Smart BASIC will work better with code text, obtained from another sources.

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: 4.5 version

Post by Mr. Kibernetik »

New commands will be added:

BROWSER n$ HIDE
hides browser which name is [n$].

BROWSER n$ SHOW
shows previously hidden browser which name is [n$].

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: 4.5 version

Post by Mr. Kibernetik »

Possibility to organize interface objects in pages will be added:

Every created interface object belongs to currently active page. Pages can be created and manipulated by PAGE commands. Default page has empty name "". Active page covers other pages which are located below. By default page is created with transparent background and fullscreen size.

New commands to support this will be added:

PAGE n$ ALPHA x
sets alpha of page [n$] to value [x]. Valid values are from 0 to 1.

PAGE n$ AT x,y
sets coordinates of page [n$] to point [x,y].

PAGE n$ FRAME x,y, W,H
sets coordinates of page [n$] to point [x,y], width to value [w] and height to value [h].

PAGE n$ HIDE
hides page which name is [n$].

PAGE n$ SET
makes page [n$] active. If such page does not exist then it is created.

PAGE n$ SHOW
shows previously hidden page which name is [n$].

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: 4.5 version

Post by Mr. Kibernetik »

Documentation to "Notes" section will be added:

KEEPING FILES IN DROPBOX CLOUD STORAGE
Smart BASIC is designed to work with Dropbox cloud storage. By default this option is disabled but it can be turned on with command OPTION DROPBOX ON (see documentation to this command is section "Settings"). After executing this command, new icon is added to smart BASIC file interface. You can access Dropbox storage using this icon. Of course you will need Dropbox account, which can be obtained at website www.dropbox.com.

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: 4.5 version

Post by Mr. Kibernetik »

New command and function will be added:

INKEY$ ()
returns output from physical keyboard. Physical keyboard support should be turned on (OPTION KEYBOARD command) for this function to operate.

OPTION KEYBOARD OFF
OPTION KEYBOARD ON
turns ON or turns OFF physical keyboard support. If support is on but physical keyboard is absent then software keyboard appears automatically. By default is off.

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: 4.5 version

Post by Mr. Kibernetik »

Addition to interface objects description:

To copy text from text window, you will need to clear access to it by hiding all blocking pages, even if their background is transparent. For example if none extra pages were created, then default page should be hidden:
PAGE "" HIDE

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: 4.5 version

Post by Mr. Kibernetik »

Documentation in "Sprites" section will be expanded:

Similarly to interface objects, sprite belongs to the page which was active when sprite was created. Sprite coordinates are relative to the page coordinates. More about pages see in "Interface" section.

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: 4.5 version

Post by Mr. Kibernetik »

New sample program "In Cell.cod" will be added to "Games" section.

Post Reply