Hallo Ivanko,

Du schriebst am Mon, 18 Nov 2013 21:12:14 +0500:

> if i = 0 then
>   writeln(0);
> elif i > 0 then
>   writeln('>0');
> else
>   writeln('<0');
> end;

That's _the_ classical example for the use of the "sign" function

CASE sign (i) OF
  0:
    WriteLn (0);
  1:
    WriteLn ('>0');
  -1:
    WriteLn ('<0');
END;

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to