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

trouble with tutorial


trouble with tutorial

Postby Deathmvp » Jun 26, 2004 @ 4:16pm

Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby redshift » Jun 26, 2004 @ 10:06pm

redshift
pm Member
 
Posts: 52
Joined: Jun 9, 2004 @ 9:52pm


Postby Deathmvp » Jun 27, 2004 @ 4:05pm

Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby redshift » Jun 27, 2004 @ 6:42pm

I probably found your problem if your are using version 0.6
The naming convention has changed in the last version.
In the Tutorial, in the section where you have to insert the procedure, the code is no more up to date.
use this one:

proc HelloWorld
t$ = GetText(MEMO102$);
s$ = t$ + "\n"+ "Hello World !";
SetText(MEMO102$, s$);
end;

As you can see, only the name of the control has changed, so you can aslo only check in your code.
Compare the properties of you control by double-clicking in the control.
The name of the control in selected so you can copy/paste it directly to your code.
Don't forget the $ at the end of the control name.

I'm updating the tutorial, it will be updated asap. :D
redshift
pm Member
 
Posts: 52
Joined: Jun 9, 2004 @ 9:52pm


Postby Deathmvp » Jun 27, 2004 @ 7:56pm

Attachments
3 try.zip
(209 Bytes) Downloaded 304 times
Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby Deathmvp » Jun 27, 2004 @ 8:07pm

Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby redshift » Jun 27, 2004 @ 8:09pm

redshift
pm Member
 
Posts: 52
Joined: Jun 9, 2004 @ 9:52pm


Postby Deathmvp » Jun 27, 2004 @ 8:22pm

like I said for some reson the code changes when you reopen it. When I first do it it says the following

func MEMO102Proc (hWnd$, Msg$, wParam$, lParam$)
ok$ = true;
case (Msg$)
WM_COMMAND:
wmId$ = LOWORD(wParam$);
wmEvent$ = HIWORD(wParam$);
case (wmEvent$)
// Put your code here
end;
// Put your code here
end;
return (ok$);
end;

After saving it and reopening ( I shut the whole program down) it it changes to

func FORM100Proc (hWnd$, Msg$, wParam$, lParam$)
ok$ = true;
case(Msg$)
WM_COMMAND:
wmId$ = LOWORD(wParam$);
wmEvent$ = HIWORD(wParam$);
case(wmId$)
1001: // Exit
PostMessage(hWnd$, WM_CLOSE, 0, 0);
return(false);
end;
end;
return (ok$);
end;


My ppc is on versuin 3.0.11171 (Build 11178)
Processor arm sa1110
31.15mb
with expansion slot (has 256mb card mostly for movies)

My pc is running windows xp on it and activesync is 3.7.1 I hope any of this helps.

Also so that you know the first text also does not come up as error.

Like I said after saving and reopening it it works.
Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby kornalius » Jun 27, 2004 @ 8:34pm

Hi Deathmvp,

I will try to fix this tomorrow. I am planning on releasing version 0.6a next week by Wednesday.

Regards,
Kornalius
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Deathmvp » Jun 27, 2004 @ 8:35pm

no problem. I just though I was going nuts as I was trying to do the turturals in order first before trying my own.
Thank you
DeathMvp

P.S. Sorry about any spelling errors.
Deathmvp
pm Member
 
Posts: 25
Joined: Aug 26, 2003 @ 3:06pm
Location: ny


Postby kornalius » Jun 28, 2004 @ 1:47pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby redshift » Jun 28, 2004 @ 4:01pm

redshift
pm Member
 
Posts: 52
Joined: Jun 9, 2004 @ 9:52pm


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

cron