Page 1 of 1

4.6 version

Posted: Wed Dec 03, 2014 6:15 am
by Mr. Kibernetik
New commands and functions will be added:

ALBUM EXPORT f$
exports image or video file [f$] from smart BASIC to device camera roll.

ALBUM IMPORT f$
imports image or video file from device camera roll to smart BASIC file [f$].

PING (h$)
performs ping of host [h$] and returns 1 if host is available or 0 if not.

SPLITE a$ TO m$,n WITH s$
(SPLIT Empty) the same as SPLIT command, but array [m$] can contain empty strings.

SET OUTPUT BACK COLOR r,g,b
sets text output window background color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET OUTPUT FONT COLOR r,g,b
sets text output window font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET OUTPUT FONT NAME n$
sets name of text output window font to [n$]. List of fonts you can get by command LIST FONTS.

SET OUTPUT FONT SIZE n
sets size of text output window font to value [n].

SET UI DEBUG FONT_FILE f$
sets font file [f$], if debug table uses third-party TTF-font.

SET UI FILE_BAR FONT_FILE f$
sets font file [f$], if file bar icon titles use third-party TTF-font.

SET UI FILES FONT_FILE f$
sets font file [f$], if files list uses third-party TTF-font.

SET UI TOOL_BAR FONT_FILE f$
sets font file [f$], if toolbar uses third-party TTF-font.

Re: 4.6 version

Posted: Sat Dec 06, 2014 7:26 am
by Mr. Kibernetik
Default page will not be created until it s needed.

Documentation about pages will be changed:

Every created interface object belongs to currently active page. Pages can be created and manipulated by PAGE commands. If interface object, for example button, is created, but there are no any pages yet, then default page is created with empty name "", transparent background and fullscreen size. Active page covers other pages which are located below even if it has transparent background.

Re: 4.6 version

Posted: Sat Dec 06, 2014 1:38 pm
by Mr. Kibernetik
New functions will be added:

SYSTEM_EXT_IP$ ()
returns external IP address of device. If unavailable then returns empty string "".

SYSTEM_INT_IP$ ()
returns local IP address of device. If unavailable then returns empty string "".

Re: 4.6 version

Posted: Sun Dec 07, 2014 12:06 pm
by Mr. Kibernetik
New function will be added:

PING (h$,p)
performs ping of port [p] of host [h$] and returns 1 if port is available or 0 if not.

Re: 4.6 version

Posted: Mon Dec 08, 2014 6:28 am
by Mr. Kibernetik
Commands will become obsolete:
BUTTON SET TITLE
BUTTON TITLE

and will be replaced with:
BUTTON SET TEXT
BUTTON TEXT

Re: 4.6 version

Posted: Mon Dec 08, 2014 8:16 am
by Mr. Kibernetik
TIMER() and TIMER RESET will become obsolete and will be replaced with:

TIME ()
returns time since program start or since time reset by TIME RESET command, in seconds.

TIME reset
sets to 0 time, returned by TIME () function.


Please note that TIME() returns time in seconds. Also it is much more precise.

Re: 4.6 version

Posted: Tue Dec 09, 2014 3:01 pm
by Mr. Kibernetik
New sample program "pages.txt" will be added to "Interactive interface" section.