Thema: Delphi Readln und Variant

Einzelnen Beitrag anzeigen

Benutzerbild von c113plpbr
c113plpbr

Registriert seit: 18. Nov 2003
Ort: localhost
674 Beiträge
 
Delphi 2005 Professional
 
#5

Re: Readln und Variant

  Alt 29. Mai 2006, 19:01
Zitat von shmia:
Die Idee mit readln muss wohl scheitern, denn:
Beim "normalen" read/readln wird eine typisierte Variable übergeben.
Die read funktion weiss, welcher Datentyp verlangt wird und reagiert demsprechend.
Durch die Verwendung von Variant als Out-Parameter geht diese Information verloren
und kann auch nicht rekonstruiert werden.
Hmm ... klingt logisch ... meinst du es gibt ne andere "praktische" lösung?

ciao & thx,
Philipp
Philipp
There is never enough time to do all the nothing you want.
*HABENWILL*
  Mit Zitat antworten Zitat