PocketMatrix forums

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

PPL beta 0.6 is now available!

Version 0.6 is a major release in terms of new features:

- RS232 communication (serial port) support.
- Winsock (ftp, html and low-level winsock) functions.
- 10 new visual components added to the visual form builder.
- Multi-threading support.
- SQL-lite support fixed.
- Functions and procedures declaration without a fix number of parameters. NFUNC and NPROC statements.
- Functions that return no values will not cause PPL to crash anymore.
- .ppc files are now encrypted.
- Lots of enhancements to the PIDE.
- Many bug fixes.
- And more...

You can download it at http://ppl.arwen.com

Regards,
Kornalius
First of all WAW ! What a bunch of new features.

And secondary, i think i have found bug.

I have bunch of problems this night trying to play with sql.
(i have to use the include option here) and it seems it each time kill my visual form.
When i attempt to make an #include on top of the code, it clear my form after displaying MEMO101$ is not a valid name error message, varying, but each time giving the 101 one.

I will retry again tomorow i have time but my 7 attempt where unsuccefull tonight.

Even if I retsart my computer, having an include line as line 1 seems to corrupt the form.

Try creating a very simple form, 1 buton and 1 memo, and add an include line as line 1.


Regards,
Hi Red,

Try using the Edit/Edit WinMain code. This would probably be more appropriate for initialization code. It has just been added to PPL in version 0.6.

I will do some test tomorrow and let you know.

Regards,
Kornalius
It may be just me for some reason but I thing I found a bug. I have the information posted in the other thereed http://www.pocketmatrix.com/forums/viewtopic.php?t=17218. It seem at lest for me if I use the v. form I have to save and shut down the program befoe I can continue as the code changes.
Hi RedShift,

I just fixed the problem. The '#' character was causing the problem with the form loading procedure.

Regards,
Kornalius
mervjoyce · 28 Jun 2004, 13:06 UTC — Feedback and Question on 0.6
I have been using 0.6 ok.

In the PIDE clicking the "Synchronize file with PPC" icon generates an "Access Violation" message box regardless of project selected.

I have compiled and run some test code that loads a (large) BMP file and displays the File Header info. Had no problems with any of this.

I have also been trying to use the "Serial" functions. I have attached a "zip" of my test code. I have two issues :

1) The call to "SetCommTimeouts" (an api declared in "comm.ppl") generates a "Syntax Error" at compile time ...

2) I have commented out the above error and copiled and run the code. The api call to "CreateFile" appears to work as the bluetooth interface starts up on my PPC (I am trying to open COM7: which is my BT GPS port) but the api returns an INVALID HANDLE.

Can anyone suggest what I am doing wrong in either or both these examples?

thanks
Attachments:
CommTest.zip (2 KB)
Hi,

1) The call to "SetCommTimeouts" (an api declared in "comm.ppl") generates a "Syntax Error" at compile time ...


There is a little problem with the Lib\Comm.ppl file, check the line where it starts with

#declare SetCommTimeouts apid ...

Change the apid to apidll. It was mistyped.

You can then transfer the file back to your pocketpc using the file manager in the PIDE.

Regards,
Kornalius
This line:

Code:
if (not(com$=INVALID_HANDLE_VALUE))


is no good! It should be:

Code:
if (not(com$ == INVALID_HANDLE_VALUE))


Regards,
Kornalius
mervjoyce · 29 Jun 2004, 01:30 UTC — Thanks
Thanks Kornalius ...

My "Delphi" background obviously showing ... all runs fine now ... will now attempt to add the thread for TX/RX

cheers
I am in the same boat, the whole PIDE is programmed in Delphi. So switching back and forth between Delphi and eVc++ is not too obvious sometimes! :lol:
mervjoyce · 29 Jun 2004, 09:19 UTC — A simple question on "Case"
Does the "Case" statement support a "default" clause?

eg:

Case (var$)
1:
do some things;
2;
do some more things;
else
catch everthing else and do soething different;
end;

or is there some different construct.

I have got around my immediate need by using the nested "if else end" alternative approach. I'm about to port my GPS decode routine (from Delphi) and I see they use this construct heavily .. maybe a little re-typing won't hurt me .....

cheers
Hi,

At this point there is no Default supported in the case statement. It is on my list of things-to-do for v0.7. I will see, maybe I can find time today or tomorrow before 0.6a is released and implement it. Cross our fingers... :)

Regards,
Kornalius
PointOfLight · 29 Jun 2004, 16:40 UTC
The default option can wait until .7. We NEED .6a (he says as his eyes start to gloss over).
I agree, we are probably more awaiting for the next debug version(0.6a) than the next 0.7.
It would be nice fo us and for you if we can have a 0.6a before your holiday, I think there is a lot of new things to test in this 0.6 version.
Hi guys,

Well, I have fixed a LOT of things in 0.6a and I found a way to implement the DEFAULT: without taking too long. :wink:

Don't worry 0.6a will be out tomorrow.

Regards,
Kornalius
Btw, I will have some time during vacations to work on PPL, I just can't promise anything (like a new release)!

Regards,
Kornalius