This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Updates


Postby mervjoyce » Sep 24, 2004 @ 7:40am

Eric,

Certainly many thanks for your time and comments ... I still don't quite believe what I am seeing, but feel a little more convinced when you have similar results.

In fact, I have commented out that initialisation block, recompiled and the program runs perfectly as it has always in the past.

That may solve my "program problem", but as a "beta" tester it's a long way from a satisfactory result - I thinks there is a problem laying in wait for us here .... anyway I'll keep snooping (and have a glass of red) .... be interested in any comments from Kornalius later in the day.

Thanks again .....

CUL
Merv Joyce
mervjoyce
pm Member
 
Posts: 113
Joined: Jun 1, 2004 @ 2:05pm
Location: Brisbane, AUSTRALIA


Postby PointOfLight » Sep 24, 2004 @ 7:44am

Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Sep 24, 2004 @ 2:23pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Sep 24, 2004 @ 2:25pm

Look at that, mervjoyce. Now he's fixing our bugs before we find them :D
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Sep 24, 2004 @ 2:36pm

Isn't it cool? 8)

I fixed this problem while investigating a bug bmanske found in the VFB that was locking up his device. And your problem was pretty much the same thing that caused it to get in a loop internally.

Btw, newer build is available! :wink:
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Sep 24, 2004 @ 3:48pm

Okay, the code I posted no longer blows up, but how do I get the value of the string variable out of the structure? If I use:

s$ = s$ + MapList.name$

I get a string that contains a bunch of addresses, which I would expect. However, if I do:

s$ = s$ + ^MapList.name$

I get an access violation. What's wrong?
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby PointOfLight » Sep 24, 2004 @ 4:21pm

I figured out my problem (because I actually remembered for once going through this before). The actual syntax should be:

s$ = s$ + (^MapList.name$);

I forgot that I needed the parentheses.
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Sep 24, 2004 @ 4:25pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Sep 24, 2004 @ 4:36pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Sep 24, 2004 @ 5:07pm

Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby kornalius » Sep 24, 2004 @ 5:36pm

The reason why it doesn't work is because the ^ operator grabs the expression that comes after.

so s$ = s$ + ^MapList.name$ + "\n"; was evaluated like this:

s$ MapList.name$ "\n" + ^ Therefore the pointer location was a bad one. I could change the parser to just grab the variable that comes after the ^ operator but you couldn't do things like this in the future.

s$ = s$ + ^MapList.name$+3; This would return the fourth caracter after MapList.name$ string value.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby PointOfLight » Sep 24, 2004 @ 6:40pm

No need to change anything, I just like to know why things work the way they do :D
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby mervjoyce » Sep 25, 2004 @ 3:43am

Merv Joyce
mervjoyce
pm Member
 
Posts: 113
Joined: Jun 1, 2004 @ 2:05pm
Location: Brisbane, AUSTRALIA


Problem "running" program from PPC

Postby mervjoyce » Sep 26, 2004 @ 7:46am

Merv Joyce
mervjoyce
pm Member
 
Posts: 113
Joined: Jun 1, 2004 @ 2:05pm
Location: Brisbane, AUSTRALIA


Postby kornalius » Sep 27, 2004 @ 12:34am

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


PreviousNext

Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum