ArianeSoft Forums

ArianeSoft Forums (
-   Tutorials (
-   -   Newbie new to programming (

frizou 08-13-2009 09:26 PM

Newbie new to programming
Hello to you all,

Sorry i'am new to programming and to PPL2.

I would like to start with a hello World in PPL2 . Is there a video some where.
I'am not an expert in programming, i'am starting from zero. I woul like to start but i dont know from where:confused:

Can some of the experts point me in a good direction so i can start some where.

Thanks to you all!

Sorry for my english.

Have a nice day.


kornalius 08-14-2009 05:48 PM

We are working on a big tutorial manual that should be hopefully ready in a couple weeks. The reason it is taking longer than expected is that technical writer was sick for about a week.

To create an Hello World, try the following:

1. Create new project, select Procedural Project.
2. Write in the code ShowMessage("Hello World!");
3. Run it.

1. Create a new Desktop Form project
2. Double-click the DefaultForm object.
3. Add a Button component on the form.
4. Double-Click the Button.
5. Select the OnClick visual code line.
6. Press Ctrl+Space key combo to get the code completion dialog.
7. Type ShowMessage and select it.
8. Now in Expr property, enter Hello World!
9. Run your code
10. Click the Button1 button.

There are many ways you can do a program in PPL 2, another would be to create a Console project. I just noticed a few problems with the Console project, I am going to fix that before 2.1 comes out.

jdixon 08-15-2009 04:40 AM

in step 7 you said type showmessage and select it. I did it and showmessage does not come up as a option. What is it that I am doing wrong?

argnob 08-15-2009 10:12 AM

1 Attachment(s)
I also tried to follow the instructions but presumably didn't get something right, as I get 257 warnings and 2 errors!

With the Button1 line selected, Control + space did bring up for me a box headed PButton with a list of commands underneath and a box for typing text and I was able to type ShowMessage and hit return to insert a ShowMessage line.

I noted that on my system the appearance of the PButton box was delayed because Panda antivirus did some checking each time before the PButton box was displayed.

I attach a bitmap which may reveal to others with a greater understanding of this software than me (which is probably a threshold very easily crossed!) where I'm going wrong.

argnob 08-15-2009 10:44 AM

Correction - With the OnClick line (underneath Button 1) selected ...
Immediately spotted an error in my description of the line highlighted at time Control + space is hit. Nevertheless, so far as I can see, what I've done is follow the instructions but presumably I haven't, through misunderstanding something somewhere.

It's hard to find a good solution for helping people learn to use PPL 2.xx. It's probably right that Alain is using a technical writer who may have more of an outsider's perspective and may explain things that Alain doesn't spot the need to explain because of his great familiarity with the product. There's the problem of different audiences with some would-be users competent programmers and some people with not much idea how to program. And would-be users familiar largely with writing lines of BASIC code may be totally flummoxed by a drag-and-drop visual environment. Personally, I'm most familiar with playing with a few varieties of BASIC and haven't yet got over the tendency to initially read, say, "A$" in PPL code as a string variable.

I've had a look at some of the Arianesoft videos on YouTube but my bandwidth isn't good for seeing them play smoothly and I think I'd want a dual screen setup to really benefit - watching, pausing and doing.

A problem with both videos and manuals full of screenshots is that they may quickly become dated as revisions to the software change its menus etc. Nevertheless, it may well be usually possible to find the new equivalents of what is described - and, if not, we can ask in the support forum.

Kobus 08-15-2009 10:52 AM


Your button now is an object of your project. When you select that line and drag it on top of the DefaultForm line is should work.

They are working on the 257 warnings, but it's nothing to worry about.

Did you select the proc OnClick line before doing Ctrl+Space?


argnob 08-15-2009 11:40 AM

Thanks but dragging the button didn't eliminate the 2 errors
The two errors are the same as are present if a new desktop project is run without adding anything:

File DefaultForm1
Syntax error at 'CLOSE'

kornalius 08-15-2009 12:19 PM

Please try updating to 2.1 and try the tutorial again.

It looks like you've played around with the piece of code in the Exit1 object. Start your project fresh.

argnob 08-15-2009 07:40 PM

Not convinced that I've played around with code
in the Exit1 object - though am doing a further re-download and reinstall.

Please can you confirm whether a new Desktop Form project with nothing yet done to it should be runnable without errors?

Please can you confirm that although you're calling this PPL 2.1, the current PPL Base Edition files are numbered 2.01.0000?

Thank you for your input.

Will have another go and see if problems have gone away - though not optimistic. Will report further.

Kobus 08-15-2009 08:03 PM

Hi Argnob,

PPL 2.01 is the latest version.
Did you finish the Hello world example?


All times are GMT. The time now is 07:46 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.