PocketMatrix forums

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

0.7a list of fixes so far.

Hi,

Yep, 0.7 is just out and I am already preparing to release 0.7a. It will be out this Friday.

Here is a list of fixes I have done so far:

- PIDE: Procedure search window is now non-modal and has a list of user entries.
- Fixed broken .ppc loader and .exe loader.

I will update this thread until the release.

Regards,
Kornalius
mervjoyce · 29 Jul 2004, 03:47 UTC — Possible Bug - 0.7
Kornalius,

I refer to the following code example:

Code:

func trim(s$)
local(i$);

showmessage("ARG-O *"+s$+"*");
i$ = 0;
while (((mid(s$,i$,1) == #32) OR (mid(s$,i$,1) == #09)) AND (i$ <= length(s$)-1))
i$++;
end;

if (i$ > (length(s$)-1))
return("");
else
s$ = mid(s$,i$,(length(s$)-i$));
end;

showmessage("ARG-L *"+s$+"*");
i$ = length(s$)-1;
while (((mid(s$,i$,1) == #32) OR (mid(s$,i$,1) == #09)) AND (i$ >= 0))
i$--;
end;

if (i$ < 0)
return("");
else
s$ = mid(s$,0,i$+1);
end;

showmessage("ARG-T *"+s$+"*");
return(s$);
end;


test$ = " A string to be trimmed ";
test$ = trim(test$);
showmessage("*"+test$+"*");


The resulting string returned from the function is always ONLY 8 chars (or less) regardless of the original parameter string. The embedded "debug" showmessages within the function shows all is well right up to the final return().

This has worked fine in all previous releases.

Is this a 'bug" in 0.7

regards
mervjoyce · 29 Jul 2004, 04:25 UTC — PPL 0.7 - problem with PPL on PocketPC
Kornalius,

Having installed 0.7 I can run the PIDE and compile and test run programs OK (except for problem as above).

However, if I go to my PocketPC and select "PPL" from the program screen then it runs OK for the first time. I then select File/Exit (even without doing anything in PPL). The next time I select "PPL" from the program screen I get an ERROR dialog:

(main.ppl) [Syntax error at 'FINDWINDOWW' (0,0)]

plus several dozen more similar messages in the same dialog box.

A "soft reset" to the PocketPC results in the same ERROR Dialog next time I select "PPL" from the program screen.

I did an uninstall (including deleting both directories) and re-installed. First time OK but then the same problem.

Is this a "local" problem or are others having a similar experience


regards
PointOfLight · 29 Jul 2004, 06:32 UTC
I got the same problem (though I didn't try to do a reinstall). What I did notice was that if I went into the PPL directory and deleted main.ppc and flist.ppc, I was able to run PPL again from the PPC.
Hi Erik,

I tried deleting all the "PPC" files in the PPL directory and I can get PPL to run again OK.

Next I thought I would try running the benchmark under 0.7 as a comparison. From the PPL menu I chose File/Run and selected "benchmark.pp" from the |My Documents\PPL directory. This generates an ERROR dialog:

(Benchmark.ppl) [Syntax error at '\MY' (2,1)]
PointOfLight · 29 Jul 2004, 07:16 UTC
I had no problems running the benchmark script that way. I did notice in the benchmark results thread, however, that at least on other person had a problem running the benchmark script the way you did, and that was way back in v.6a (I think).
Eric,

I reinstalled PPL on both the desktop and the PocketPC. I can now run "benchmark" from the desktop but all the other issues above still persist.

I have posted the bencjmark updates
Guys, this is a broken feature in 0.7. It is now fixed in 0.7a. The .ppc file loader has been broken just before the release of 0.7. It slipped through my fingers I guess! :)

Regards,
Kornalius

NB: Mervjoyce, I am looking at the problem you have posted in post #2.
New features added to PPL 0.7a just now:

Ability to index list and structure variables just like regular arrays.

Example:

Code:
// Index testing for list and struct

list (l$);
Add (l$, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
l$[0] = 11;
ShowMessage (l$[0]);
ShowMessage (l$[5]);

struct(s$, "str1", "str2", "str3");
s.str1$ = "Hello World!";
s$[1] = "This is cool!";
ShowMessage(^s$[1]);


Regards,
Kornalius
Mervjoyce,

I fixed the problem. An internal garbage collection issue. Thanks for posting a nice and brief report. It was easy to spot the problem this way!

Regards,
Kornalius
Even more new features:

Visual Form Builder:
--------------------
1. Ability to generate dialog boxes instead of regular forms.

2. Can generate a library instead of a main winapi program. This way you can add the form to your program by including it with (#include) and then calling the func <FormName>Create.

PPL
---
1. Don't need to have the .ppl extension when using #include anymore. So #include "lib" is the same as #include "lib.ppl".

Editor.ppl
----------
Started working on the Find and Replace dialog boxes.

Regards,
Kornalius
PointOfLight · 29 Jul 2004, 18:37 UTC
I think the ability to include forms is going to be wonderful. I know there have been many requests for that in NSBasic (and they still don't have it).
Kornalius,

Thanks for the fix .. looking forward to 0.7a

BTW: I meant to say the "change/new" features list for 0.7 is most impressive, but it just keeps getting better every day.

Congratulations on a fine effort!