Type conversions (was: 2 suggestions about Units)
14 Nov
1997
14 Nov
'97
12:42 a.m.
According to Hans Ecke:
[...]
A last question: What is the schema of the automatic type-conversion? Is there a global schema for converting between ordinal,real and string types or is it only done from case to case?
What do you mean by "automatic type-conversion" between ordinal, real, and string types? Assignments like "ordinal:= real" or "string:= integer" are - of course - simply illegal in Pascal. You can assign an integer to a real, but not vice versa. Am I missing something? Peter Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]
10500
Age (days ago)
10501
Last active (days ago)
1 comments
2 participants
participants (2)
-
Hans Ecke -
Peter Gerwinski