About 539,000 results
Open links in new tab
  1. delphi - Using Case Statement with String - Stack Overflow

    Jan 25, 2013 · This version is case-sensitive, so if the first argument was 'SomeName' it would take the not present in array path. Use IndexText for case-insensitive comparison. For older Delphi versions, …

  2. Delphi fall through in case statement - Stack Overflow

    Jul 21, 2016 · 13 Delphi does not have fall through in case statements. It is one of the major differences between C and Delphi. But in your particular case (sorry about the pun) you can write

  3. delphi - How to create multiple conditions in Case command? - Stack ...

    Apr 18, 2019 · How to create multiple conditions in Case command? Asked 6 years, 8 months ago Modified 6 years, 8 months ago Viewed 2k times

  4. delphi - How can I test that a value is within a range with a "case ...

    Apr 10, 2014 · Why do you want to do that? For such expressions, a if ... then is just the clearer and faster way of doing that. There is no interest in using a case here.

  5. delphi - ¿Para que sirve case of? - Stack Overflow en español

    Jul 6, 2017 · Me he estado preguntando como hacer un buen uso del case of pero no sé como implementarlo correctamente ni cuando es necesario hacerlo. Me gustaría que alguien me explicase …

  6. Delphi typed constants in case statements - Stack Overflow

    Jan 20, 2013 · Typed constants can not be used in case statements, because a typed constant is actually more a static variable (and assignable...), and thus can't serve in a case statement, which …

  7. [Resolvido] Case com String - Delphi - Fórum iMasters

    Aug 19, 2006 · Seguinte, eu programava em VB.Net, e to migrando para DELPHI, no eskema abaixo eu mostro como fazia em VB, gostaria de saber como fazer o msm eskema so q em Pascal???Dim …

  8. Delphi case statement for integer ranges - Stack Overflow

    Oct 2, 2011 · I have a function which is being passed an integer value, representing a step value. There are 5 seperate conditions I want to test for: Value =0 Value =1 Value =-1 Value >1 Value <-1 …

  9. delphi - How to make multiple variations on case - Stack Overflow

    Jul 29, 2020 · When using case statements you actually provide each branch a set of values which will trigger that branch of case statement code. And for defining sets you can use 12..16 format which …

  10. delphi - How does the compiler handle case statements? - Stack …

    Mar 19, 2017 · 6 case statement The compiler prefers to transform the case statement to a jump table. In order to make this possible duplicate case labels are not allowed. Furthermore the compiler does …