Ariane Soft PPL2 Pocket Programming DataMite
Old 08-13-2009, 09:26 PM
frizou frizou is offline
Junior Member
Join Date: Aug 2009
Location: Repentigny, Quebec, Canada
Posts: 12
Talking 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

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.

Reply With Quote
Old 08-14-2009, 05:48 PM
kornalius kornalius is offline
Join Date: Apr 2006
Posts: 551

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.
Alain Deschenes
ArianeSoft Inc.
Reply With Quote
Old 08-15-2009, 04:40 AM
jdixon jdixon is offline
Junior Member
Join Date: May 2008
Location: Amherst MA USA
Posts: 21

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?
Reply With Quote
Old 08-15-2009, 10:12 AM
argnob argnob is offline
Junior Member
Join Date: Jul 2009
Posts: 17
Default ShowMessage

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.
Attached Images
File Type: bmp Hello_bw.bmp (15.6 KB, 319 views)
Reply With Quote
Old 08-15-2009, 10:44 AM
argnob argnob is offline
Junior Member
Join Date: Jul 2009
Posts: 17
Default 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.
Reply With Quote
Old 08-15-2009, 10:52 AM
Kobus Kobus is offline
Senior Member
Join Date: Feb 2009
Location: Spain
Posts: 141


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?

Reply With Quote
Old 08-15-2009, 11:40 AM
argnob argnob is offline
Junior Member
Join Date: Jul 2009
Posts: 17
Default 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'
Reply With Quote
Old 08-28-2009, 08:17 PM
kornalius kornalius is offline
Join Date: Apr 2006
Posts: 551
Default Re: Newbie new to programming

Also make sure the folder in Project object (mobile_folder) is set correctly. Got your email will have go into debug mode and send me a file so I can see what is going under the hood.
Alain Deschenes
ArianeSoft Inc.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 - All rights reserved
Web Design by BR Web Consulting Ltd