PocketMatrix forums

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

Learning PPL As a First Language

How tough would PPL be to get into coming from someone with no programming experience? (although I know a bit of Flash ActionScript, and may learn Lua in the near future) I'd like to try my hand at making a tile-based engine is my main goal.
Sponge,

I'm not the best person to answer your question as I haven't started coding with PPL yet, but I can advise you to have a look on the official website: http://ppl.arwen.com/

There are some code snippets and tutorials which should give you a good idea. Dont be put off if it looks complicated, I believe a lot of it can be generated by the PIDE.

I'd say give it a go!

Regards,

Andy.
Yup, looked through that, was wonderring how a hands-on experience would work out too. In either case, I'd definitely be interested in getting in on the beta, although I probably can't contribute too much besides the basics!
Hi Sponge,

If you want to be part of the beta, please send an email to kornalius @ hotmail.com. I will happy to add you to the next release of PPL.

Every new tester can help PPL in a lot of ways. Even a person who is learning programming will have new ideas and can find bugs that hardcore programmers won't find. :)

Regards,
Kornalius
Sent the message, thanks!
blazingwolf · 13 Jul 2004, 20:35 UTC
I am new to programming and have learned quite a bit since I started playing with PPL. I'm still having trouble with comboboxes though. Anyway, I think playing with PPL is a good way to start. It has a bunch of samples to look at plus the tutorials are great. 1 of these days I will be able to write the program I want to create.

Thanks kornalius for creating this program and having this beta.
PointOfLight · 13 Jul 2004, 21:06 UTC
sponge: I think PPL is a good way to learn programming for two reasons. First of all, as a new product it has a fresh community, and since we're all at least in the same boat in terms of learning this particular language, everyone is willing to help when they can. Second, since this is primarily a C derivative, you get access to a lot of things you wouldn't in a tool like NSBasic or eVB, so in the end you'll be a better programmer for it.

blazingwolf: if you have any questions about combo boxes, please ask! I am in the process of taking the library that redshift started for combos and expanding it somewhat. It should make it very simple for you to get a handle on using combos. I should hopefully have that, along with several other control related libraries, available next week.
PPL reminds me of the first language I learned, which was mIRC scripting (about 8 years ago, heh). Languages like PPL are excellent to learn with because you won't get bogged down by simple things, like trying to learn how to convert an integer into characters.
mervjoyce · 14 Jul 2004, 10:28 UTC — Some of my code library
Nothing outstanding here but attached are my Combobox and Edit (memo) libraries to share with the PPL community ... usual proviso - use as you please but no responsibility etc

cheers
Attachments:
ppllib.zip (2 KB)
mervjoyce:

Thanks a lot for your contribution. Release 0.7 will include some of the libraries that users provided. Do you mind if I go through them and take part of them?

Regards,
Kornalius
mervjoyce · 14 Jul 2004, 23:03 UTC — Libraries
Kornalius,

Your welcome ... happy to be able to contribute in some small way.
blazingwolf · 15 Jul 2004, 00:38 UTC
PointOfLight wrote:
blazingwolf: if you have any questions about combo boxes, please ask! I am in the process of taking the library that redshift started for combos and expanding it somewhat. It should make it very simple for you to get a handle on using combos. I should hopefully have that, along with several other control related libraries, available next week.


That will be nice. Thanks.

I am trying to figure out how to put values into the combobox. I want them there so that when you tap on the down arrow you see certain values. Something like "24,15.5,8,2,.8,.2,.08". Is it better to use (Am I even right about this?) AddItem or get from list or file? If you could show code I would be eternally grateful.

Sorry for the noob question.
PointOfLight · 15 Jul 2004, 04:47 UTC
Here's an example of how to add the items of a list to a combo. This is one of the functions included in my library. The "exit loop" comment is there because I haven't really decided yet what I want to do if an individual entry fails. The concept is all there, though. Hope this helps.

Code:

func Combobox_LoadFromList(combobox$, slist$, bclear$)
if(bclear$)
Combobox_Clear(combobox$);
end;

foreach(slist$)
result$ = SendMessage(combobox$, CB_ADDSTRING, 0, slist$);
if((result$ == CB_ERR) or (result$ == CB_ERRSPACE))
//exit loop
end;
end;

return (true);
end;