Julia v1.2.0 Documentationprecedence as +. The only explicitly disallowed names for variables are the names of built-in statements: 10.2. STYLISTIC CONVENTIONS 29 julia> else = false ERROR: syntax: unexpected "else" julia> VersionNumber object, and therefore one can define some version- specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end Note that 98 CHAPTER 16. CONTROL FLOW "negative..." end "positive!" Note that very short condi�onal statements (one-liners) are frequently expressed using Short-Circuit Evalua�on in Julia, as outlined in the0 码力 | 1250 页 | 4.29 MB | 1 年前3
Julia 1.2.0 DEV Documentationprecedence as +. The only explicitly disallowed names for variables are the names of built-in statements: 11.2. STYLISTIC CONVENTIONS 31 julia> else = false ERROR: syntax: unexpected "else" julia> VersionNumber object, and therefore one can define some version- specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end Note that 100 CHAPTER 17. CONTROL FLOW "negative..." end "positive!" Note that very short condi�onal statements (one-liners) are frequently expressed using Short-Circuit Evalua�on in Julia, as outlined in the0 码力 | 1252 页 | 4.28 MB | 1 年前3
Julia v1.1.1 Documentationprecedence as +. The only explicitly disallowed names for variables are the names of built-in statements: 10.2. STYLISTIC CONVENTIONS 29 julia> else = false ERROR: syntax: unexpected "else" julia> VersionNumber object, and therefore one can define some version- specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end Note that 98 CHAPTER 16. CONTROL FLOW "negative..." end "positive!" Note that very short condi�onal statements (one-liners) are frequently expressed using Short-Circuit Evalua�on in Julia, as outlined in the0 码力 | 1216 页 | 4.21 MB | 1 年前3
Julia 1.1.0 Documentationprecedence as +. The only explicitly disallowed names for variables are the names of built-in statements: 10.2. STYLISTIC CONVENTIONS 29 julia> else = false ERROR: syntax: unexpected "else" julia> VersionNumber object, and therefore one can define some version- specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end Note that 98 CHAPTER 16. CONTROL FLOW "negative..." end "positive!" Note that very short condi�onal statements (one-liners) are frequently expressed using Short-Circuit Evalua�on in Julia, as outlined in the0 码力 | 1214 页 | 4.21 MB | 1 年前3
Julia 1.6.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Mixing multiple using and import statements . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Handling name conflicts . . . . . . . VersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end 62 CHAPTER 82 CHAPTER 9. CONTROL FLOW "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in0 码力 | 1397 页 | 4.59 MB | 1 年前3
Julia 1.7.0 DEV Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Mixing multiple using and import statements . . . . . . . . . . . . . . . . . . . . . . . . . . 189 Handling name conflicts . . . . . . . VersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end Note that 82 CHAPTER 9. CONTROL FLOW "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in0 码力 | 1399 页 | 4.59 MB | 1 年前3
Julia 1.6.0 DEV Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Mixing multiple using and import statements . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Handling name conflicts . . . . . . . VersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end 62 CHAPTER 82 CHAPTER 9. CONTROL FLOW "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in0 码力 | 1383 页 | 4.56 MB | 1 年前3
Julia 1.6.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Mixing multiple using and import statements . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Handling name conflicts . . . . . . . VersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end 62 CHAPTER 82 CHAPTER 9. CONTROL FLOW "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in0 码力 | 1397 页 | 4.59 MB | 1 年前3
Julia v1.6.6 DocumentationVersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end CHAPTER CHAPTER 9. CONTROL FLOW 77 "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in || operators. This behavior is frequently used in Julia to form an alternative to very short if statements. Instead of ifend, one can write && (which could be read 0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.5 DocumentationVersionNumber object, and therefore one can define some version-specific behavior using simple statements as: if v"0.2" <= VERSION < v"0.3-" # do something specific to 0.2 release series end CHAPTER CHAPTER 9. CONTROL FLOW 77 "negative..." end "positive!" Note that very short conditional statements (one-liners) are frequently expressed using Short-Circuit Evaluation in Julia, as outlined in || operators. This behavior is frequently used in Julia to form an alternative to very short if statements. Instead of ifend, one can write && (which could be read 0 码力 | 1325 页 | 4.54 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













