12 Oct
2001
12 Oct
'01
2:48 p.m.
Hello pascal gurus, I want to declare a complex constant in gpc like the following, non working example: const I : complex = (0.0, 1.0); I have not found any example how to do this in the list archive or in the manual. Another question concerning the same subject: Is there a possibility to assign real values only to the real or imaginary parts of a variable especially to a function return value like in the following non working, sensless example: function add(a,b: complex):complex; begin add.re := re(a) + re(b); add.im := im(a) + im(b); end; Any Idea? Many thanks in advance. Gerhard Gerhard Zintel Faurecia Abgastechnik GmbH Abt.: EGA Tel.: +49 911 7610176 Fax.: +49 911 7610350 e-mail: GZintel@Stadeln.Faurecia.com
9073
Age (days ago)
9075
Last active (days ago)
1 comments
2 participants
participants (2)
-
J. David Bryan -
ZINTEL Gerhard