In computing, IIf (an abbreviation for Immediate if ) is a function in several editions of the Visual Basic programming language, related languages such as ColdFusion Markup Language, and on spreadsheets that returns one of its two parameters based on the evaluation of an expression. It is an example of a conditional expression, which is similar to a conditional statement.
| Property | Value |
| p:abstract
| - In computing, IIf (an abbreviation for Immediate if ) is a function in several editions of the Visual Basic programming language, related languages such as ColdFusion Markup Language, and on spreadsheets that returns one of its two parameters based on the evaluation of an expression. It is an example of a conditional expression, which is similar to a conditional statement. (en)
- IIf - (ang. skrót od Immediate if) - funkcja w języku Visual Basic i pokrewnych np. ColdFusion Markup Language, a także w arkuszach kalkulacyjnych, zwracająca w przypadku gdy pierwszy argument jest prawdą - wartość drugiego argumentu, a w przeciwnym wypadku wartość trzeciego argumentu. W działaniu jest podobna do operatora warunkowego, ale w przeciwieństwie do niego trzecie wyrażenie zostaje zawsze wykonane razem z jego skutkami ubocznymi niezależnie od wartości warunku.
Przykład:
wynik = IIf(5 < 10, "tak", "nie") ' zwraca "tak"
wynik = IIf(2 + 2 = 5, "prawda", "fałsz") ' zwraca "fałsz" (pl)
|
| p:hasPhotoCollection
| |
| p:wikipage-pl
| |
| rdf:type
| |
| rdfs:comment
| - In computing, IIf (an abbreviation for Immediate if ) is a function in several editions of the Visual Basic programming language, related languages such as ColdFusion Markup Language, and on spreadsheets that returns one of its two parameters based on the evaluation of an expression. It is an example of a conditional expression, which is similar to a conditional statement. (en)
- IIf - (ang. skrót od Immediate if) - funkcja w języku Visual Basic i pokrewnych np. ColdFusion Markup Language, a także w arkuszach kalkulacyjnych, zwracająca w przypadku gdy pierwszy argument jest prawdą - wartość drugiego argumentu, a w przeciwnym wypadku wartość trzeciego argumentu. W działaniu jest podobna do operatora warunkowego, ale w przeciwieństwie do niego trzecie wyrażenie zostaje zawsze wykonane razem z jego skutkami ubocznymi niezależnie od wartości warunku. (pl)
|
| rdfs:label
| |
| skos:subject
| |
| foaf:page
| |
| owl:sameAs
| |