fopen (), great modifications: The function is totaly modified.
or, and and not functions work now has logic test and not test on binary operations (see new functions orb (), andb (), notb () for binary
operations).
While: Endwhile: a bug has been corrected (when two endwhile were closed).
gmode: graphic mode value has been change for real compatibility between all graphics functions.
keywait (): a bug is corrected (when using with keyclear () (previous name of keyclear: int1off ()).
New Functions:
= for strings comparison (simplify to use than strcmp ()). Return 1 if equal, else 0.
andl: binary and operation (former and operator in newprog release v0.1).
orl: binary or operation (former or operator in newprog release v0.1).
sprt82: display a sprite even if in the border of the screen.
sprt162: display a sprite even if in the border of the screen.
sprt322: display a sprite even if in the border of the screen.
newline or nl: Return to a new line (with the printf1 ... functions).
when: replaced the ifs functions in release 0.1
i: is a simple writing for if endif function (with no else for the moment). As fast as an if endif statement. Use the following syntax:
i (condition): instructions: y
catalog: Launch the catalog dialog and return a string of the
selection. For: Endfor
open: display an open dialog box. The user select the folder and the file (and can choose the type). Returns a string: "rep \ varname"
mod: modulo function. Example: mod (9,7) returns 2.
atol: convert a string to number (like expr in tibasic)
&: similar to tibasic. The output shall be smaller than 50 bytes for avoiding crash. If the size is bigger than 50 bytes, use strcat () instead.
lcdup: contrast up.
lcddown: constrast down.
b, w, l: 3 functions to define predifined instantiated list.
prettyxy: display an expression into pretty print format (very impressive).
getwbt: retrieve the dimension of the expression to be displayed with prettyxy.
settype: set the type of data (ie their size) contained in a list pointed by a Newprog variable. Returns the old value. The function could just
returns the old value without modifying it.moveto: Sets the current pen position.
pause: Display a string to the screen and wait for a key to be pressed
seqs: Great function for making Tibasic list filled with strings
seqe: Great function for making Tibasic list filled with expressions (ie number only)
orb: binary or
andb: binary and
notb: binary not
fopen (file_str): open an existing file for reading and modificating. If you want to save your modifications, you have to use the fcreate
function.
fcreate (file_str, string_type): create a file or overwrite a file
next: returns to the beginning of the last opened and active For or While loop.
break: Ends the last opened For or While loop.
esc: acts like up () down () etc but for escape key.
off: turns off the calculator
isarchi: Return 1 if file is archived, 0 if not, -1 if doesn't exist.
archi: archive a file.
unarchi: unarchi a file.
gsprt8x: retrieve from the screen a sprite with custom bytewidth.
sprt8x: Display to the screen the sprite (in particular from gsprt8x).
dcircle: Draw an outlined circle.
fillcirc: Draw a filled clipped circle.
memchr: Search for a character in a memory area.
text: Same function than the Tibasic one.
unsigb: converts a number coded onto 4 bytes (data) on a signed number coded onto one byte
unsigw: converts a number coded onto 4 bytes (data) on a signed number coded onto two bytes
osvar: Return the value of a Tibasic variable
if: if cond: if_true
ord: converts a string of one character to a code ascii
New: Predefined constants (operating during compilation)
Functions removed because do not work correctly: fputc (); ftell (); fseek (); fputs (); fclose (); interoff (); interon (); int5off (); int5on () etc few others
one is.
Program stability enhanced (by verifying whether the function executed is still in the programm memory area (C exec_non_stop_secured ()
function)).
Program stability enhanced when executing Tibasic.
Memory leak corrected.
In jsr, bug corrected when to many jsr called (memory problem).
In the compilator point of view: