PDA

View Full Version : PPL 1.10 : editor syntax error


David Chua
12-13-2006, 11:11 AM
I've installed the 1.10 Pro and encounter the following errors when loading source file:

PPL 1.10 Pro Compiler Error Report

error: (\program files\ppl\editor\editor.ppl) [Syntax error at 'FINDDIALOGCREATE' (379,23)]

error: (\program files\ppl\editor\editor.ppl) [Syntax error at 'REPLACEDIALOGCREATE' (486,26)]

error: (\program files\ppl\editor\editor.ppl) [Syntax error at 'PROCLISTDIALOGCREATE' (789,27)]

Please advise.
Thanks.

David Chua
12-13-2006, 12:15 PM
Sorry, forget to state this: The error occur at ppc side.

My Dell machine (X51v) is running on Window Mobile 5. PPL 1.08 was running fine.

PC side has no problem so far.

Cheers.

David Chua
12-13-2006, 01:39 PM
OK, this is what I did to get it work:
I'd copy the "editor" folder from the pc side (the one inside the folder "runtime" into my ppc and it seems working fine now.
Kornalius, can you confirm if this is OK?

Cheers.

kornalius
12-13-2006, 07:19 PM
PC and PPC should be the same. Maybe you had a .ppc file in there that didn't want to be re-compiled. This is a little strange indeed.

Heinz
12-13-2006, 07:44 PM
Hi,

I have the same problem as David. On the PC everything is working fine, but on the PPC I get always the same compiler errors as David. None of the old standard demos (from the demo folder works) - even those which have not been run before like the registry demo or demos I didn't run before (i.e. where no .ppc file can exist).
With all the updates before, I never had this problem (although I used always the same procedure for upgrading). So maybe there is something that has to be done different then in earlier versions?

David Chua
12-13-2006, 10:55 PM
The editor folder in the pc is having different contents then then the one in ppc side. The ppc side do not have editor.prj file in it, however, it does not work even when I'd copy the editor.prj into it. The good thing is that, it works when I copy the whole folder from pc into ppc.

I've tried many combination along the way but it would only work when the whole folder copied from pc side. I wanted to screen through every files but since it works I intend to save the trouble and my time to do something else. Unless what I've done is not good.

Cheers.

David Chua
12-13-2006, 11:06 PM
By the, there isn't any editor.ppc in the ppc side also. The different between pc & ppc side: editor.ini, editor.ppc & editor.prj. In addition to that, the pc side are having filenames with upper & lower case combination where ppc side are all lower case (this is to further describe the differences).

Hope this info helps.
Cheers.

kornalius
12-14-2006, 01:10 AM
I might be missing a file in the installation, I will have to look it up tomorrow.

I'll get back to you on this.

bmanske
12-14-2006, 04:24 AM
I've spent some time looking into this. Something did happen to the files loaded for the Editor when PPL installs.

If you use the Pocket PC's editor, then copy the files from the c:\program files\ppl\runtime\editor directory to the \program files\ppl\editor directory on the Pocket PC. (Remember to adjust the path names above if you have installed to non default locations.)

I have checked the other files installed on the Pocket PC and they are fine.

In case your curious about what is damaged, most of the form files are wrong. The Replace and Search dialogs are from the VFB project. Some of the forms look like they had been touched by the PIDE form editor and had color and font attributes changed. So we must have accidently picked up files from a test directory or something like that.

Sorry for the problems.

Brad

David Chua
12-14-2006, 05:16 AM
Thank you for the confirmation. I've already done with copying editor folder from pc side and working fine. Just want to know if I'm doing the right thing.

Cheers.

Timothy Chan
12-14-2006, 04:03 PM
I'm having the same problem as well. Glad there's already a workaround!

Dell Axim x51v, WM5 here as well.

Update: Workaround works just fine! Editor now shows.

Nicknack
12-21-2006, 10:48 AM
i also had this problem, but solved it with copying the whole folder from pc.
but i have the same error if i compile gameapi.ppl:
** error ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Syntax error at 'NEWPARTICLE' (265,5)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at '_X$' (265,26)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at '_Y$' (265,31)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at 'AX$' (265,36)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at 'AY$' (265,41)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at 'VX$' (265,46)
** warning ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) Variable is not defined as local and might be used as global at 'VY$' (265,51)
** error ** (C:\Programme\PPL\Runtime\Lib\GameAPI.ppl) : or , expected at ';' (265,104) x)
now i use the old gamapi file from v1.08, but i get still this error if i use some functions like setspritedirection. :((
i use ppl std on pc and ppc (v 1.08 and v 1.1)

kornalius
12-21-2006, 11:27 AM
Hi Nick,

You are using Standard. The particle engine is only available in the Pro version. You need the Pro version to get the physic and particle engines.

Nicknack
12-21-2006, 01:06 PM
yeah i know,kornalius,
but if the gameapi couldn't be compiled right i can't even run scroll, in fact nothing.
and i can't write my own programs properly , because this syntax error always occurred, e.g. as said when i use setspritedirection.

kornalius
12-21-2006, 05:17 PM
Oh it's a GameAPI.ppl function in there that was added in 1.0. I just fixed it in 1.11.

Thanks for reporting this issue.