Page 1 of 1

2.7 version

Posted: Tue Oct 08, 2013 6:58 am
by Mr. Kibernetik
BREAK command for FOR/NEXT cycle now can be used without indicating variable.

New CONTINUE command will be implemented for all types of cycles:
Command CONTINUE loops to next iteration of WHILE/WILE END, DO/UNTIL loops and closest FOR/NEXT loop:
DO
...
IF K = 5 THEN CONTINUE
...
UNTIL K < 10

Command CONTINUE [x] loops to next iteration of FOR/NEXT loop for variable [x]:
FOR K = 0 TO 10
...
IF K = 5 THEN CONTINUE K
...
NEXT K

New ARG() function will be implemented:
ARG (x)
returns argument of complex number [x]. Command OPTION ANGLE has its effect in this function.

Re: 2.7 version

Posted: Wed Oct 09, 2013 12:12 pm
by Mr. Kibernetik
New command will be implemented:

DRAW LINECAP RECT
DRAW LINECAP ROUND
sets style of line end: RECT - rectangular, ROUND - rounded. Default is RECT.

Re: 2.7 version

Posted: Wed Oct 09, 2013 7:07 pm
by Mr. Kibernetik
New example program "painter 2" will be added.
Снимок экрана 10.10.2013, 1.05.11 с Симулятора iOS.png
Снимок экрана 10.10.2013, 1.05.11 с Симулятора iOS.png (65.1 KiB) Viewed 1730 times

Re: 2.7 version

Posted: Thu Oct 10, 2013 6:56 am
by Mr. Kibernetik
New commands will be added:

SLIDER_CHANGED (n$)
returns 1 if value of slider with name [n$] was changed. Otherwise it returns 0.

SWITCH_CHANGED (n$)
returns 1 if state of switch with name [n$] was changed. Otherwise it returns 0.

Re: 2.7 version

Posted: Thu Oct 10, 2013 11:44 am
by Mr. Kibernetik
GPS will be supported:

GPS data include latitude, longitude, altitude above sea level and direction. To receive GPS data you need to turn on GPS with command SET GPS ON. Availability of data can be checked with functions GPS_POSITION_AVAILABLE() and GPS_DIRECTION_AVAILABLE(). Data can be received with commands GET GPS POSITION and GET GPS DIRECTION.

New commands and functions will be added:

GET GPS DIRECTION h
gets GPS data of current direction and saves it to numeric variable [h]. Direction is measured in degrees.

GET GPS POSITION LAT,LON,ALT
gets GPS data of current latitude, longitude and altitude, and saves them to numeric variables [lat], [lon] and [alt]. Latitude and longitude are measured in degrees, altitude - in meters.

GPS_DIRECTION_AVAILABLE ()
returns 1 if new GPS heading data are available. Otherwise it returns 0.

GPS_POSITION_AVAILABLE ()
returns 1 if new GPS position data are available. Otherwise it returns 0.

SET GPS OFF
SET GPS ON
turns on and turns off GPS. ON = enabled, OFF = disabled.

New example program "my GPS position.txt" will be added.