PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PPL beta version 0.6b is now out!

You can download PPL v0.6b beta at http://ppl.arwen.com

Lots of optimization.
Some bfixes.
Cool functions enhancements.
And more...

Regards,
Kornalius
Hi Kornalius,
I was playing with this new release and the sql lib.
I'm trying to create a database editor manager.

And during my dev I was disappointted by the behaviour of the repeat loops.
So I run the benchmark to see if there is no problem.
I don't know if the behaviour of the Repeat loop is linked to that... so i will try with a while since this one seems to work correctly to fill my listbox :-)

Device: Qtek 2020 PocketPC GPRS GSM
OS: MS Mobile Pocket PC Version 4.20.0(Build 13252)
CPU: Intel PXA263 400Mhz

Here is the result.

Welcome to the PPL Console

PPL Benchmark program

Testing CPU processing...

Loop test #1... 491 ms
Loop test #2... 333 ms
API loop test... 779 ms
Proc loop test... 98434 ms
Array loop test... 761 ms
Struct loop test... 1297 ms
List loop test... 1824 ms
Array copy loop test... 4225 ms
Struct copy loop test... 22105 ms
List copy loop test... 9143 ms

Testing graphics and sound...

Standard GameAPI loop... 113 fps
Standard loop with music... 109 fps
GameAPI loop with MainProc... 63 fps
Normal blitting loop... 101 fps
Normal alpha blit loop... 103 fps
Rotated blitting loop... 79 fps
Rotated alpha blit loop... 75 fps
Rotated spriteproc blit loop... 63 fps

Done, total time running: 221412 ms

I just a compile the benchmark.ppl application before.
I have tried to run it using the ppl one but it does run to the end and take also a very long time for the Proc loop test.

It seems Proc and Struct copy are really unusually time consuming on my system.
Hi Red,

I am aware of this problem. It only happens when a .ppc file is involved. Once a .ppl is compiled a .ppc is created and if you run the program after, the procedure access is somehow slow. I am working on it for 0.6c.

Regards,
Kornalius
Thanks master Kornalius !

I have another question related this time to the sqlite api.

What is the current status of theses functions ?

I'm trying to create a database manager but i can't get stability, it generally crash after 3-4 operations.

http://www.pocketmatrix.com/forums/view ... hp?t=17319

There is certainly bunch of bugs and errors yet in my code but it does not seem to be the main cause of the problems.

The behaviour does not seems to be very repetitive if you see what i mean. (Just list the data repetitively does not seem get the same result everytime)

(Sometimes i have underlying variables names that appear in the result)
Again one reply for this version, but i'm not sure it's a bug nor if it's something you can change easely.
The Users menu in the visual builder that we can define using ini files.
Is it possible to have theses menu to support commas in the entry so we can enter fuctions call with theyr parameters ?

EG: I created a new directory called Functions and a ini file thet define the menu file entries in which i put the functions calls.
Functions.ini
Functions DIR
Listbox.ini
Listbox_LoadFromFile(LISTBOX$,Filename$);

But it only display and set
Listbox_LoadFromFile(LISTBOX$

Tested on version 0.6b

Regards,
Hi Red,

Concerning the users menu, I can probably change the delimiter to something else. Good idea.

The SQL should be pretty stable now. v0.6b is I think. PointOfLight should be able to confirm this. I will take a look at your code later on.

Regards,
Kornalius
PointOfLight · 07 Jul 2004, 19:29 UTC
I haven't done much with the SQL yet, but simple selects don't seem to be any problem. I am planning on doing a tutorial about the SQL functions, hopefully in the next few days, so I will know more then. Also, if we can get the problem worked out to where we can get a good copy of your SQL manager, maybe that will give me some insight.