Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

lazarus for education

25 messages · 12 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rainer Hamann

I developed a teaching / learning edition for pascal based on Delphi and RemObjects Pascal Script.

There are two different levels at the moment :

One is Logo like and tested with children of 9 years and up, another uses objects based on the main form of the application with no objects to be declared inside the program. The second one is tested with pupils of 14 years and up.

My idea is to downgrade the Lazarus ide by compiler options in order to make it more simple for beginners and to add some tools like wizards and so on. May be I need help, but some tools are ready in the Delphi application.

I would like to know, if there is interest in such a tool.

Rainer Hamann

Reply by email

Christian U.
to Rainer Hamann

Sure. Please ask bevore you implement something in deep. The Core Developers often have ther own POV what should happen with and in the IDE. (And mostly they are right ;)) So just discuss what you want to add and what way you choose to implement it to not do the work twice.

Show quoted text 24 lines
I developed a teaching / learning edition for pascal based on Delphi and RemObjects Pascal Script. There are two different levels at the moment : One is Logo like and tested with children of 9 years and up, another uses objects based on the main form of the application with no objects to be declared inside the program. The second one is tested with pupils of 14 years and up. My idea is to downgrade the Lazarus ide by compiler options in order to make it more simple for beginners and to add some tools like wizards and so on. May be I need help, but some tools are ready in the Delphi application. I would like to know, if there is interest in such a tool. Rainer Hamann _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

willem
to Rainer Hamann: I developed a teaching / learning edition for pascal based on Delphi and RemObjects…
Rainer Hamann wrote 20 lines
I developed a teaching / learning edition for pascal based on Delphi and RemObjects Pascal Script. There are two different levels at the moment : One is Logo like and tested with children of 9 years and up, another uses objects based on the main form of the application with no objects to be declared inside the program. The second one is tested with pupils of 14 years and up. My idea is to downgrade the Lazarus ide by compiler options in order to make it more simple for beginners and to add some tools like wizards and so on. May be I need help, but some tools are ready in the Delphi application. I would like to know, if there is interest in such a tool. Rainer Hamann

Well I am interested.

Adding Wizards looks a good idea to me.

regards Wim

Reply by email

Mattias Gaertner
to willem
Show quoted text 22 lines
Rainer Hamann wrote: > I developed a teaching / learning edition for pascal based on > Delphi and RemObjects Pascal Script. > > There are two different levels at the moment : > > One is Logo like and tested with children of 9 years and up, > another uses objects based on the main form of the application with > no objects to be declared inside the program. The second one is > tested with pupils of 14 years and up. > > My idea is to downgrade the Lazarus ide by compiler options in > order to make it more simple for beginners and to add some tools > like wizards and so on. May be I need help, but some tools are > ready in the Delphi application. > > I would like to know, if there is interest in such a tool. > > Rainer Hamann > > Well I am interested.

Me too.

Adding Wizards looks a good idea to me.

Mattias

Reply by email

Unknown author

Rainer Hamann ha scritto:

I developed a teaching / learning edition

for pascal based on Delphi and

RemObjects Pascal Script. There

are two different levels at the moment :

One is Logo like and

tested with children of 9 years and up, another

uses objects based

on the main form of the application with no objects

to be declared

inside the program. The second one is tested with pupils

of 14 years

and up.

My idea is to downgrade the Lazarus ide by compiler options

in order to

make it more simple for beginners and to add some tools

like wizards and

so on. May be I need help, but some tools are ready

in the Delphi

application. I would like to know, if there is

interest in such a tool.
I've done a messages composer package (manage
messagedlg, questiondlg, inputbox, showmessage ect.). It's rought but for what I need is OK. I already proposed it to the Laz developers but I got no reply. I can send it either to you or to the list and, of course, I can work on it.
Salvatore Coppola

Rainer Hamann

Reply by email

Felipe Monteiro de Carvalho
to Rainer Hamann: I developed a teaching / learning edition for pascal based on Delphi and RemObjects…

Just an idea, but maybe the IDE Plugins API could be extended so that one can substitute the Compiler Options dialog (or modify it, keeping only the first tab for beginners, for example) and do other things necessary for the project. This way the project could be developed as a plugin instead of as a patch to Lazarus.

thanks,

Felipe Monteiro de Carvalho

Reply by email

Unknown author

Vincent Snijders ha scritto:

schreef: >

messagedlg, questiondlg, inputbox, showmessage ect.). It's rought but for what I need is OK. I already proposed it to the Laz developers but I got no reply.

What is the bug number of the patch in the bug

tracker?

I sent to the old patch email address

uploaded
0010994:
MessageComposer Package

Salvatore

Reply by email

Rainer Hamann
to Mattias Gaertner: On Wed, 12 Mar 2008 01:50:20 +0100 Me too. Mattias
Mattias Gaertner wrote 41 lines
On Wed, 12 Mar 2008 01:50:20 +0100 willem wrote: > Rainer Hamann wrote: > >> I developed a teaching / learning edition for pascal based on >> Delphi and RemObjects Pascal Script. >> >> There are two different levels at the moment : >> >> One is Logo like and tested with children of 9 years and up, >> another uses objects based on the main form of the application with >> no objects to be declared inside the program. The second one is >> tested with pupils of 14 years and up. >> >> My idea is to downgrade the Lazarus ide by compiler options in >> order to make it more simple for beginners and to add some tools >> like wizards and so on. May be I need help, but some tools are >> ready in the Delphi application. >> >> I would like to know, if there is interest in such a tool. >> >> Rainer Hamann >> >> >> > Well I am interested. > Me too. > Adding Wizards looks a good idea to me. > Mattias

My idea is to hide many of the menu items and parts of the objects bar and to extend the source editor in order to simplify it for children. Is it better, if it is done by compiler options or by runtime options?

I would prefer compiler options like :

procedure TMainIDEBase.SetupFileMenu;
var
  ParentMI: TIDEMenuSection;
begin
  with MainIDEBar do begin
    CreateMenuSeparatorSection(mnuFile,itmFileNew,'itmFileNew');
    ParentMI:=itmFileNew;
    {$IFDEF LAZ4EDU}
CreateMenuItem(ParentMI,itmFileNewOther,'itmFileNewOther',lisMenuNewOther,'menu_new');
    CreateMenuSeparatorSection(mnuFile,itmFileOpenSave,'itmFileOpenSave');
    ParentMI:=itmFileOpenSave;
    CreateMenuItem(ParentMI, itmFileOpen, 'itmFileOpen', lisMenuOpen,
'menu_open');
    CreateMenuItem(ParentMI,itmFileRevert,'itmFileRevert',lisMenuRevert,
'menu_file_revert');
CreateMenuItem(ParentMI,itmFileSave,'itmFileSave',lisMenuSave,'menu_save');
CreateMenuItem(ParentMI,itmFileSaveAs,'itmFileSaveAs',lisMenuSaveAs,'menu_saveas_16');
CreateMenuItem(ParentMI,itmFileClose,'itmFileClose',lisMenuClose,'menu_close',false);
    {$ELSE}
CreateMenuItem(ParentMI,itmFileNewUnit,'itmFileNewUnit',lisMenuNewUnit,'menu_new_unit');
CreateMenuItem(ParentMI,itmFileNewForm,'itmFileNewForm',lisMenuNewForm,'menu_new_form');
CreateMenuItem(ParentMI,itmFileNewOther,'itmFileNewOther',lisMenuNewOther,'menu_new');
    CreateMenuSeparatorSection(mnuFile,itmFileOpenSave,'itmFileOpenSave');
    ParentMI:=itmFileOpenSave;
    CreateMenuItem(ParentMI, itmFileOpen, 'itmFileOpen', lisMenuOpen,
'menu_open');
    CreateMenuItem(ParentMI,itmFileRevert,'itmFileRevert',lisMenuRevert,
'menu_file_revert');
CreateMenuSubSection(ParentMI,itmFileRecentOpen,'itmFileRecentOpen',lisMenuOpenRecent);
CreateMenuItem(ParentMI,itmFileSave,'itmFileSave',lisMenuSave,'menu_save');
CreateMenuItem(ParentMI,itmFileSaveAs,'itmFileSaveAs',lisMenuSaveAs,'menu_saveas_16');
CreateMenuItem(ParentMI,itmFileSaveAll,'itmFileSaveAll',lisMenuSaveAll,'menu_save_all');
CreateMenuItem(ParentMI,itmFileClose,'itmFileClose',lisMenuClose,'menu_close',false);
CreateMenuItem(ParentMI,itmFileCloseAll,'itmFileCloseAll',lisMenuCloseAll,'menu_close_all',false);
CreateMenuSeparatorSection(mnuFile,itmFileDirectories,'itmFileDirectories');
    ParentMI:=itmFileDirectories;
CreateMenuItem(ParentMI,itmFileCleanDirectory,'itmFileCleanDirectory',lisMenuCleanDirectory,
'menu_clean');
    CreateMenuSeparatorSection(mnuFile,itmFileIDEStart,'itmFileIDEStart');
    ParentMI:=itmFileIDEStart;
CreateMenuItem(ParentMI,itmFileRestart,'itmFileRestart',lisMenuRestart,
'menu_restart_16');
    {$ENDIF}
    CreateMenuItem(ParentMI,itmFileQuit,'itmFileQuit',lisMenuQuit,
'menu_exit');
  end;
end;

Rainer Hamann

Reply by email

Michael Van Canneyt
to Mattias Gärtner
Mattias G?rtner wrote 11 lines
> My idea is to hide many of the menu items and parts of the objects bar > and to extend the source editor in order to simplify it for children. Is > it better, if it is done by compiler options or by runtime options? > > I would prefer compiler options like : It would be better to write a laz4edu package instead of compiler directives and it would be better to hide the menu items instead of 'not creating them'. For example: itmFileOpenSave.FindByName('itmFileOpen').Visible:=false;

I think this is a very good suggestion, it also illustrates the power of the IDE interface.

Michael.

Reply by email

zaher dirkey
to Michael Van Canneyt

I am not sure, what must still in Lazarus after hiding, my be you like to have new IDE for FPC compiler but with GUI like as Turbo Pascal for windows 1.5?

2008/3/12 Michael Van Canneyt :

Show quoted text 29 lines
On Wed, 12 Mar 2008, Mattias G?rtner wrote: > > My idea is to hide many of the menu items and parts of the objects bar > > and to extend the source editor in order to simplify it for children. Is > > it better, if it is done by compiler options or by runtime options? > > > > I would prefer compiler options like : > > It would be better to write a laz4edu package instead of compiler directives and > it would be better to hide the menu items instead of 'not creating them'. > > For example: > itmFileOpenSave.FindByName('itmFileOpen').Visible:=false; I think this is a very good suggestion, it also illustrates the power of the IDE interface. Michael. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080313/05958d72/attachment.html

Reply by email

Thierry Coq
to Rainer Hamann: I developed a teaching / learning edition for pascal based on Delphi and RemObjects…

Rainer Hamann a ?crit :

Show quoted text 7 lines
I developed a teaching / learning edition for pascal based on Delphi and RemObjects Pascal Script. ... I would like to know, if there is interest in such a tool.

Yes, I'm interested, also having it in several languages. I can contribute the french bindings if necessary.

Show quoted text 8 lines
Rainer Hamann _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Thierry

Reply by email

willem
to Thierry Coq
Thierry Coq wrote 19 lines
Rainer Hamann a ?crit : > I developed a teaching / learning edition for pascal based on Delphi and > RemObjects Pascal Script. > > ... > > I would like to know, if there is interest in such a tool. > > Yes, I'm interested, also having it in several languages. I can contribute the french bindings if necessary. > Rainer Hamann > tp://www.lazarus.freepascal.org/mailman/listinfo/lazarus

I can contribute the dutch bindings.

Reply by email

Rainer Hamann
to Mattias Gärtner: An embedded and charset-unspecified text was scrubbed... Name: not available Url:…
Show quoted text 68 lines
Zitat von Rainer Hamann : > Mattias Gaertner wrote: > >> On Wed, 12 Mar 2008 01:50:20 +0100 >> willem wrote: >> >> >> >>> Rainer Hamann wrote: >>> >>> >>>> I developed a teaching / learning edition for pascal based on >>>> Delphi and RemObjects Pascal Script. >>>> >>>> There are two different levels at the moment : >>>> >>>> One is Logo like and tested with children of 9 years and up, >>>> another uses objects based on the main form of the application with >>>> no objects to be declared inside the program. The second one is >>>> tested with pupils of 14 years and up. >>>> >>>> My idea is to downgrade the Lazarus ide by compiler options in >>>> order to make it more simple for beginners and to add some tools >>>> like wizards and so on. May be I need help, but some tools are >>>> ready in the Delphi application. >>>> >>>> I would like to know, if there is interest in such a tool. >>>> >>>> Rainer Hamann >>>> >>>> >>>> >>>> >>> Well I am interested. >>> >>> >> Me too. >> >> >> >> >>> Adding Wizards looks a good idea to me. >>> >>> >> Mattias >> >> >> > My idea is to hide many of the menu items and parts of the objects bar > and to extend the source editor in order to simplify it for children. Is > it better, if it is done by compiler options or by runtime options? > > I would prefer compiler options like : > It would be better to write a laz4edu package instead of compiler directives and it would be better to hide the menu items instead of 'not creating them'. For example: itmFileOpenSave.FindByName('itmFileOpen').Visible:=false; Mattias

I start a new project based on project.pp and I will hide many menu items like you did it in the example. Some very few functions of the IDE must replaced by others. I hope, that it is possible to override them from within my code.

Rainer Hamann

Reply by email

Mattias Gaertner
to Rainer Hamann
Show quoted text 5 lines
[...] I start a new project based on project.pp and I will hide many menu items like you did it in the example. Some very few functions of the IDE must replaced by others. I hope, that it is possible to override them from within my code.

Yes, it is. But I guess, this will will make bug reports confusing and will break compatibility with other packages. So, I suggest to hide the items and add some new.

I don't understand what you mean with 'based on project.pp'. Will you create the laz4edu (or edulaz or lazedu or whatever) package?

Mattias

Reply by email

Rainer Hamann
to Mattias Gaertner
Mattias Gaertner wrote 22 lines
On Thu, 13 Mar 2008 16:30:40 +0100 Rainer Hamann wrote: > [...] > I start a new project based on project.pp and I will hide many menu > items like you did it in the example. Some very few functions of the > IDE must replaced by others. I hope, that it is possible to override > them from within my code. > Yes, it is. But I guess, this will will make bug reports confusing and will break compatibility with other packages. So, I suggest to hide the items and add some new. I don't understand what you mean with 'based on project.pp'. Will you create the laz4edu (or edulaz or lazedu or whatever) package? Mattias

I created a project laz4edu.lpi and I used project.pp as starter.

Do you mean a *.lpk package? For schools and for pupils must is be very simple to install and to use the software, because many pupils and many teachers administrating the computers at school do not have much experience in reconfiguration of a software.

Rainer Hamann

Reply by email

Mattias Gaertner
to Rainer Hamann
Show quoted text 30 lines
Mattias Gaertner wrote: > On Thu, 13 Mar 2008 16:30:40 +0100 > Rainer Hamann wrote: > > >> [...] >> I start a new project based on project.pp and I will hide many >> menu items like you did it in the example. Some very few functions >> of the IDE must replaced by others. I hope, that it is possible to >> override them from within my code. >> > > Yes, it is. But I guess, this will will make bug reports confusing > and will break compatibility with other packages. So, I suggest to > hide the items and add some new. > > I don't understand what you mean with 'based on project.pp'. > Will you create the laz4edu (or edulaz or lazedu or whatever) > package? > > > Mattias > > I created a project laz4edu.lpi and I used project.pp as starter. Do you mean a *.lpk package? For schools and for pupils must is be very simple to install and to use the software, because many pupils and many teachers administrating the computers at school do not have much experience in reconfiguration of a software.

Installing a package is easier than compiling the IDE with a flag.

Mattias

Reply by email

Felipe Monteiro de Carvalho
to Rainer Hamann: I created a project laz4edu.lpi and I used project.pp as starter. Do you mean a *.lpk…
Rainer Hamann wrote
Do you mean a *.lpk package? For schools and for pupils must is be very simple to install and to use the software, because many pupils and many teachers administrating the computers at school do not have much experience in reconfiguration of a software.

Just provide a installer with the package pre-installed. At least the GLScene team already does that.

Felipe Monteiro de Carvalho

Reply by email

Unknown author
to Rainer Hamann: I developed a teaching / learning edition for pascal based on Delphi and RemObjects…

Hi.

I developed a teaching / learning edition for pascal based on Delphi and RemObjects Pascal Script. There are two different levels at the moment : One is Logo like and tested with children of 9 years and up, another

There was a pascal-based programming language & IDE called "Karel", and it work similar to logo:

http://en.wikipedia.org/wiki/Karel_%28programming_language%29

Unfortunately, I was for DOS. There was even a book.

There are modern versions, but related to C/C++ & Java.

Im not sure, but seems that the tool you are working, and the "Karel" tool share similar things, like
a visual representation, kids can understand, like logo, and an structured programming language based on pascal.

Many schools doesn't teach programming stuff like logo, anymore, they don't found it useful :-s

But, I have confirmed, that such kind of tools,
actually improve kids ability to solve problems,
in life, even if they don't go to study Programming in Collegue or University...

I would like to know, if there is interest in such a tool.

Could you define "interest" ?

I think a such kind of tool could be good, for schools.

If you are looking for developers, you could be more specific.

My daily job doesn't leave me much of a time, but your project seems useful, I may see how I can help...

Cheers.

maramirezc

Reply by email

Rainer Hamann
to Unknown author

Hi,

sorry for my very late answer to your message.

1) I'm working with a logo-like version of Pascal for the first few lessons to teach the structure of Pascal and to find correct algorithms for graphical problems.

2) Later on in a second level object are used, but there is no class declaration visible for the students. Before the compilation starts, the source code is extend to unit with class declarations.

3) At the third level Students use several forms with class declaration inside their source code.

These steps make it easier for beginners and they more often have success in creating a correct program.

I will try to develop a first version for Lazarus in order to show you and others, what my personal opinion of an educational version of Lazarus.

Karel (and other tools) leave a break between the version for beginners and the version of the IDE / programming students have to use afterwards. Many teachers I know, say that their students are not able to create a correct class declaration even after a year of education.

Regards,

Rainer Hamann

Show quoted text 50 lines
Hi. > I developed a teaching / learning edition for pascal based on Delphi and > RemObjects Pascal Script. > There are two different levels at the moment : > One is Logo like and tested with children of 9 years and up, another > There was a pascal-based programming language & IDE called "Karel", and it work similar to logo: http://en.wikipedia.org/wiki/Karel_%28programming_language%29 Unfortunately, I was for DOS. There was even a book. There are modern versions, but related to C/C++ & Java. Im not sure, but seems that the tool you are working, and the "Karel" tool share similar things, like a visual representation, kids can understand, like logo, and an structured programming language based on pascal. Many schools doesn't teach programming stuff like logo, anymore, they don't found it useful :-s But, I have confirmed, that such kind of tools, actually improve kids ability to solve problems, in life, even if they don't go to study Programming in Collegue or University... > I would like to know, if there is interest in such a tool. > Could you define "interest" ? I think a such kind of tool could be good, for schools. If you are looking for developers, you could be more specific. My daily job doesn't leave me much of a time, but your project seems useful, I may see how I can help... Cheers. maramirezc

Reply by email

willem
to Rainer Hamann
Rainer Hamann wrote 85 lines
Hi, sorry for my very late answer to your message. 1) I'm working with a logo-like version of Pascal for the first few lessons to teach the structure of Pascal and to find correct algorithms for graphical problems. 2) Later on in a second level object are used, but there is no class declaration visible for the students. Before the compilation starts, the source code is extend to unit with class declarations. 3) At the third level Students use several forms with class declaration inside their source code. These steps make it easier for beginners and they more often have success in creating a correct program. I will try to develop a first version for Lazarus in order to show you and others, what my personal opinion of an educational version of Lazarus. Karel (and other tools) leave a break between the version for beginners and the version of the IDE / programming students have to use afterwards. Many teachers I know, say that their students are not able to create a correct class declaration even after a year of education. Regards, Rainer Hamann > Hi. > > > >> I developed a teaching / learning edition for pascal based on Delphi and >> RemObjects Pascal Script. >> There are two different levels at the moment : >> One is Logo like and tested with children of 9 years and up, another >> >> > There was a pascal-based programming language & IDE called "Karel", > and it work similar to logo: > > http://en.wikipedia.org/wiki/Karel_%28programming_language%29 > > Unfortunately, I was for DOS. There was even a book. > > There are modern versions, but related to C/C++ & Java. > > Im not sure, but seems that the tool you are working, > and the "Karel" tool share similar things, like > a visual representation, kids can understand, like logo, > and an structured programming language based on pascal. > > Many schools doesn't teach programming stuff like logo, > anymore, they don't found it useful :-s > > But, I have confirmed, that such kind of tools, > actually improve kids ability to solve problems, > in life, even if they don't go to study Programming > in Collegue or University... > > > >> I would like to know, if there is interest in such a tool. >> >> > Could you define "interest" ? > > I think a such kind of tool could be good, for schools. > > If you are looking for developers, you could be more specific. > > My daily job doesn't leave me much of a time, but your project seems useful, > I may see how I can help... > > Cheers. > > maramirezc > > > > I am very interested in your project.

Please tell me how I can help.

regards Wim

Reply by email

Rainer Hamann

I have uploaded a first version (VERY beginning) of laz4edu. Debugging of the Lazarus IDE needed a few hours in order to understand, how parts of the IDE are working. It can be configured very easy, congratulations to the designers!!

Developers are welcome!

You can download my Delphi version of "visual_itg", but source is not included, because I used some commercial components.

Windows EXE, run with wine :
http://www.hamann-kiel.de/laz4edu/itg-delphi.zip
see README included

Source of laz4edu :
http://www.hamann-kiel.de/laz4edu/laz4edu-ide.zip
see README included

Create a directory {$LazarusDir}/laz4edu-ide and put the contents of laz4edu-ide.zip into that directory. Open the project file laz4edu.lpi and compile and start it. I always have an exception class 'External: SIGSEGV' when closing it. No idea why at the moment.

Rainer Hamann

Reply by email

Howard Page-Clark

Rainer Hamann wrote

Source of laz4edu : http://www.hamann-kiel.de/laz4edu/laz4edu-ide.zip see README included

When I try to build this the compiler stops with "can't find unit Unix used by LazConf" which puzzles me since I can't find any reference to a unit called Unix in any of the project source files. Can anyone shed any light? -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080325/43a9f67e/attachment.html

Reply by email