4.9 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

4.9 version

Post by Mr. Kibernetik »

New commands will be added

GUNZIP z$ TO f$
unpacks file [z$], which was compressed with DEFLATE algorithm, and saves result to file [f$].

GZIP f$ TO z$
packs file [f$] using DEFLATE algorithm and saves result to file [z$].

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.9 version

Post by Mr. Kibernetik »

Functionality of DRAW PIXEL command will be corrected and expanded:

DRAW PIXEL x,y COLOR r,g,b,a
draws pixel at coordinates [x,y] with color of red [r], green [g] and blue components, and with alpha [a]. Parameter COLOR can be omitted to use current draw color and alpha:
DRAW PIXEL x,y
Parameter [a] can be omitted. In this case alpha is equal to 1:
DRAW PIXEL x,y COLOR r,g,b
This command is screen scale-dependent.

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.9 version

Post by Mr. Kibernetik »

New command will be added:

PHONE CALL n$
performs phone call to number [n$]. Device should support making phone calls.
PHONE CALL "83331234567"

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.9 version

Post by Mr. Kibernetik »

It will be added to the documentation, section "Basics > Variables":

Numeric variable precision is equivalent to double type, which corresponds to 64-bit representation of 1-11-52 for sign-power-mantissa.

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.9 version

Post by Mr. Kibernetik »

New math functions will be added:

DEC (h$)
returns decimal representation of hexadecimal number, written as a string [h$]. Number is treated as unsigned integer.
PRINT DEC("ABCD")

HEX$ (n)
returns hexadecimal representation of integer number [n]. Number should not be negative or complex.
PRINT HEX$(255)

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.9 version

Post by Mr. Kibernetik »

Version 4.9 will be published immediately to fix critical bug in text editor.

Post Reply