Autor Beitrag
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 20.06.06 17:31 
Ich habs mal in Off Topic gepostet, der C Code aus dem Titel, ich weiß nimmer wie diese Konstrukt heißt, daher die Frage, ist das das gleiche wie das hier ?
ausblenden Delphi-Quelltext
1:
2:
3:
  if b = z then
    a := x else
      a := y;

habs leider vergessen und bin jetzt nimmer so sicher (tri...irgendwas)

vielen dank schonmal :lol:
Holgerwa
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 325

WIN XP Pro, Vista Business
Delphi 7 Pro, BDS 2006 Pro
BeitragVerfasst: Di 20.06.06 17:34 
Hallo,

ja, das ist richtig.

Holger
F34r0fTh3D4rk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 20.06.06 17:38 
danke ;)
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 20.06.06 17:40 
F34r0fTh3D4rk hat folgendes geschrieben:
ist das das gleiche wie das hier ?
ausblenden Delphi-Quelltext
1:
2:
3:
  if b = z then
    a := x else
      a := y;
Ja.

F34r0fTh3D4rk hat folgendes geschrieben:
habs leider vergessen und bin jetzt nimmer so sicher (tri...irgendwas)
Trinitätsoperator (dt.) oder Ternary Conditional (en.).

Edit: Gleich 6 Minuten zu spät :shock:

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert