Re: [Lazarus] Teaching Pascal at College

2017-01-15 Thread Martin Vahi via Lazarus
On 10/12/2016 09:10 PM, Adrian De Armas via Lazarus wrote: > Hello everyone, > I am a professor of "introduction to programming". Currently we are working > with matlab and c. > > Today I had a meeting about doing the module more interesting to the > students. Currently we teach algorithms making

[Lazarus] Semicolon checking

2017-01-15 Thread Vojtěch Čihák via Lazarus
Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I accidentally did this stupid mistake:   if ... then   begin      ...   end else;   begin     ...     exit;   end;   Note the semicolon behind the "else". Semicolon as an empty command is sometimes useful (temporary solution)

Re: [Lazarus] Teaching Pascal at College

2017-01-15 Thread Martin Vahi via Lazarus
Sorry for sending my previous letter about teaching Pascal to the mailing list. The letter was meant to be sent directly to the Adrian De Armas, not the mailing list. My mistake. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.laza

Re: [Lazarus] Semicolon checking

2017-01-15 Thread Lars via Lazarus
On Sun, January 15, 2017 3:30 pm, Vojtěch Čihák via Lazarus wrote: > Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I > accidentally did this stupid mistake:   > if ... then begin > >   end else; >   begin >     ... >     exit; >   end; >   Yikes! I think you just disco

Re: [Lazarus] Teaching Pascal at College

2017-01-15 Thread Mehmet Erol Sanliturk via Lazarus
On Sun, Jan 15, 2017 at 5:52 PM, Martin Vahi via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Sorry for sending my previous letter about > teaching Pascal to the mailing list. > The letter was meant to be sent directly to > the Adrian De Armas, not the mailing list. > My mistake. > -- > _