Re: [BLACKBOX] Type transfer

From: Rene A. Krywult <"Rene>
Date: Fri, 14 Oct 2011 13:30:16 +0200

----boundary-LibPST-iamunique-853477236_-_-
Content-type: text/plain

MODULE PrivConv;
VAR r:REAL; n:INTEGER;
BEGIN
        n:=5;
        r:=n;
END PrivConv.

-------- Original-Nachricht --------
> Datum: Fri, 14 Oct 2011 12:23:29 +0100
> Von: "Campbell, Robert (SELEX GALILEO, UK)" <robert.d.campbell{([at]})nowhere.xy
> An: BLACKBOX{([at]})nowhere.xy
> Betreff: [BLACKBOX] Type transfer

> My mind has suddenly gone blank!
>
>
> What is the easiest way of converting an INTEGER (say n) to a REAL?
>
> The expression "(n + 0.)" just seems a bit unnatural.
>
>
> Cheers
>
> Robert
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex
> SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-853477236_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcn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hcnRhcmlmIG1p
dCBHZWxkLXp1clwnZmNjay1HYXJhbnRpZSFcdGFiIFx0YWIgXHBhcg0KSmV0enQgaW5mb3JtaWVy
ZW46IGh0dHA6Ly93d3cuZ214Lm5ldC9kZS9nby9mcmVlcGhvbmVccGFyDQpccGFyDQpccGFyDQot
LS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9G
RiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT319AAQAAAAAAAAAEQAAAA==
----boundary-LibPST-iamunique-853477236_-_---
Received on Fri Oct 14 2011 - 13:30:16 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:10 UTC