回覆列表
  • 1 # lanfengz1

    case I of

    1..5: Caption := "Low";

    6..9: Caption := "High";

    0, 10..99: Caption := "Out of range";

    else

    Caption := "";

    end;

    ===============================

    if I in [1..5] then

    Caption := "Low"

    else if I in [6..10] then

    Caption := "High"

    else if (I = 0) or (I in [10..99]) then

    Caption := "Out of range"

    else

    Caption := "";

    ==================================

    case MyColor of

    Red: X := 1;

    Green: X := 2;

    Blue: X := 3;

    Yellow, Orange, Black: X := 0;

    end;

  • 中秋節和大豐收的關聯?
  • 中超聯賽第22輪,你們覺得國安主場能戰勝恆大嗎?本場比賽會不會有特別因素影響比賽結果?