Menu

iScript / Blog: Recent posts

Added BasicGL

I have added BasicGL to the iScript.Now it's easyer to control the graphics,like this:
var g = GraphicBox("myBox");
var c = g.getContext("2d");
Ink(c,"#ffff00");
Move(c,0,0);
Draw(c,20,20);
c.stroke();

Posted by Cretu Gheorghe-Andrei 2018-04-28

OOP(Object Oriented Programming)

Object Oriented Programming is here,since I was born. You can try:
var p = new program();
for(var i=0;i<100;i++){
for(var j=0;j<100;j++){
p.child[0][0] = new program();
};
};

but it will be a long running script.

The thing is objects usually have properties and methods to access those properties.

Posted by Cretu Gheorghe-Andrei 2018-04-27
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.