Autor Beitrag
Philipp_Reitter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 14:40 
hi

ich bin gerade dabei einen codegenerator zu schrieben...
für ein sudoku dass es mir die edits immer im gewissen abstan hinsetzt in der dfm datei.... nicht wichtig

jedenfalls möchte ich ide schriftart und den text festlegen aber in der dfm datei steht dass unter solchen zeichen 'text' 'schrift'
nur jetzt soll er mir so was schreiben....
das geht eben nicht ''text''

kann mir jemand weiterhelfen...
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mo 13.03.06 14:41 
ausblenden Delphi-Quelltext
1:
s := 'lala' + Chr(39) {war glaub ich 39.. siehe ascii tabelle} + 'lalala';					



greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Jailbird
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 127

Windows XP Pro SP2
Delphi 7 Professional
BeitragVerfasst: Mo 13.03.06 14:50 
ausblenden Delphi-Quelltext
1:
s := 'ein text mit einem '' drin';					

_________________
Jailbird
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mo 13.03.06 14:52 
user profile iconJailbird hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
s := 'ein text mit einem '' drin';					


Geht das so echt? :shock:
Mal probieren..

Stimmt.. Cool =)

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 14:59 
s := 'ein text mit einem '' drin'; geht ja aber dann macht er
string anfeg->'ein text mit einem'<-string ende string anfang->'drin'<-string ende
oder auch nciht hm komisch

jedenfalls will ich

ausblenden Delphi-Quelltext
1:
s := 'ein text mit einem 'test' drin';					

geht das auch??
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 15:00 
asooooooooooooooooooo wenn ich 2 schreibe macht er später nur eins...

danke!!!
problem gelöst
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mo 13.03.06 15:01 
user profile iconPhilipp_Reitter hat folgendes geschrieben:
string anfeg->'ein text mit einem'<-string ende string anfang->'drin'<-string ende
oder auch nciht hm komisch


RFOL ws wilsst du?
Ich erste nur bannhof

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 15:37 
jaja ich abs schon rausgefunden danke nochmal....
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Mo 13.03.06 15:39 
Und die Lösung für andere dies auch mal brauchen !?
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 15:43 
nana das war weil ich dachte wenn man zwei '' schreibt dass er dann ..... ah ich hab nen blödsinn gedacht jetzt weiß ichs udn ale anderen die das lesen auch wenn man zeit schreibt '' dann kommt nur eines im text
und damit basta.
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Mo 13.03.06 15:51 
user profile iconPhilipp_Reitter hat folgendes geschrieben:
udn ale anderen die das lesen auch wenn man zeit schreibt '' dann kommt nur eines im text


:shock: :gruebel: :lupe:

Hääää
Jailbird
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 127

Windows XP Pro SP2
Delphi 7 Professional
BeitragVerfasst: Mo 13.03.06 16:35 
Kurz gesagt: ein ' wird mittels einem zweiten ' escapt. Also '' wird zu '

_________________
Jailbird
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mo 13.03.06 16:37 
user profile iconPhilipp_Reitter hat folgendes geschrieben:
nana das war weil ich dachte wenn man zwei '' schreibt dass er dann ..... ah ich hab nen blödsinn gedacht jetzt weiß ichs udn ale anderen die das lesen auch wenn man zeit schreibt '' dann kommt nur eines im text
und damit basta.


Wenn du wirklich Antworten auf deine Fragen haben willst solltest du dir auch mal ein bisschen Zeit nehmen deine Fragen zu stellen und die noch mal alles durchlesen... :?

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mo 13.03.06 17:50 
ups sorry :lol: war in eile...
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Mo 13.03.06 17:59 
@Born-to-Frag: Ey, kritsier hia ma ned so rum, weil sons hatma nix me su laggn. Manmal is scho lustigg, wie die leuz tippn un dnkn ds mahn si vasteet. Wen di so proggn tun wi se schraim, köön die übba süntaxfehlereren nic hinaus.

Miz 56 Jaahn hamse dan das 1.ml die Meldung 'Done: Compiled' ... :dance2:

_________________
Na denn, dann. Bis dann, denn.