Difference between revisions of "If"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
[[wikipedia:Conditional (computer programming)]] | [[wikipedia:Conditional (computer programming)]] | ||
Line 13: | Line 13: | ||
fi | fi | ||
− | + | Bash: | |
− | [[ | + | if..[[elif]]..else |
Line 22: | Line 22: | ||
== Related terms == | == Related terms == | ||
* <code>[[man test]]</code> | * <code>[[man test]]</code> | ||
− | * <code>[[ | + | * <code>[[when: (ansible)]]</code> |
+ | * <code>[[if __name__ == "__main__":]]</code> | ||
+ | * <code>[[-z]]</code> | ||
+ | * <code>[[==]]</code> | ||
+ | * [[Terraform conditional expressions]] | ||
+ | * [[if:]] | ||
+ | * [[[[]] | ||
== See also == | == See also == | ||
+ | * {{flow control}} | ||
+ | * {{if}} | ||
* {{programming}} | * {{programming}} | ||
* {{languages}} | * {{languages}} | ||
[[Category:Programming]] | [[Category:Programming]] |
Latest revision as of 13:19, 19 November 2024
wikipedia:Conditional (computer programming)
if (( a > b )); then ... fi
if (( a > b )); then ... else ... fi
Bash:
if..elif..else
Activities[edit]
Related terms[edit]
man test
when: (ansible)
if __name__ == "__main__":
-z
==
- Terraform conditional expressions
- if:
- [[[[]]
See also[edit]
- Flow control,
if, for, while, defer
if
,man test
,-z, elif
, Braket- Programming: C, Python,
go
,loop
,while
,for
,if
,variable
, Error handling, Regex, Function, IDE, await, R (programming language), XACML, Type, Class inheritance, Methods, Scheme, Array, Deserialization - Programming languages: C, C++, Java, Kotlin, IaC, Bash, zsh, Rust, Lua, php, Clojure, Haskell, Go, Erlang, Scala, Python, Ruby, gcc, glibc, swift, Zig, Julia
Advertising: