[fpc-devel] new features and facilities

Paul Michell Paul at MichellComputing.co.uk
Thu Oct 8 17:06:16 CEST 2015


I'm in tomorrow, we can take a look then.

Kind regards,

Paul


On 08/10/15 14:33, Mohsen wrote:
> Hi!
> I wanna add new features and facilities to pascal like while - else, 
> for - else and inline if statement like python.
>
> examples
>
> ex1:
>
> I:=5;
> while(I>0) do
>   begin
>      Write(I);
>      I:=I-1;
>  end else Write(' While Else ');
>
> ex1-output:54321 While Else
>
> ex2:
>
> I:=5;
>   while(I>0) do
>   begin
>      Write(I);
>      Break;
>   end else Write(' While Else ');
>
> ex2-output:5
>
>
> so i want you to help me how to implement  it.
>
> thanks a million.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list