AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Inkompatieble Typen: TString und String

Ein Thema von Äfan · begonnen am 20. Aug 2004 · letzter Beitrag vom 23. Aug 2004
Antwort Antwort
Äfan
(Gast)

n/a Beiträge
 
#1

Inkompatieble Typen: TString und String

  Alt 20. Aug 2004, 02:23
Ich habe mal wider ein problem: Ich will, dass der Text einer Memo in ein Variable eingefügt wird. Wenn ich das so mache: MyVar := Memo.Lines dann kommt ne Fehlermeldung "Inkompatible Typen: 'TStrings' und 'String'". Wie kann ich mein Ziel trotzdem erreichen ?
  Mit Zitat antworten Zitat
Benutzerbild von nailor
nailor

Registriert seit: 12. Dez 2002
Ort: Karlsruhe
1.989 Beiträge
 
#2

Re: Inkompatieble Typen: TString und String

  Alt 20. Aug 2004, 02:26
myvar = memo.Text;
Michael N.
http://nailor.devzero.de/code/sharpmath/testing/ --- Tests, Feedback, Anregungen, ... aller Art sehr willkommen!
::: don't try so hard - it'll happen for a reason :::
  Mit Zitat antworten Zitat
andianon

Registriert seit: 2. Dez 2003
Ort: Wechselnd
28 Beiträge
 
Delphi 5 Enterprise
 
#3

Re: Inkompatieble Typen: TString und String

  Alt 23. Aug 2004, 14:49
var
myvar : String;

[...]
myvar := mymemo.Text;
[...]
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:29 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz