<variable> = <value>
Operators: Assignment "="Assign Glossary: Valuevalue to Glossary: Variable, var_refvariable.
Operators: Assignment "=" Built-in operators: Assignments:Assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperators are right-oriented, that means: Flow control: if … thenif multiple Operators: Assignment "=" Built-in operators: Assignments:assignments are made in one Vipsi command syntax: Expressions Glossary: Expressionexpression, they are evaluated right-to-left.
Flow control: if … then Flow control: try … thenThe right-side Glossary: Operator Glossary: Operandoperand <value> may be of any Data Types Invariants: Data typesdata type Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: if … then Flow control: try … thenthe Data Types Invariants: Data typesdata type of Flow control: if … then Flow control: try … thenthe left-side Glossary: Operator Glossary: Operandoperand <variable> is ignored.
Flow control: if … then Flow control: try … thenThe Vipsi command syntax: Operators Operators Glossary: Operatoroperator = Flow control: returnreturns a reference to Flow control: if … then Flow control: try … thenthe left-side Glossary: Operator Glossary: Operandoperand <variable>. Most times you probably ignore Flow control: if … then Flow control: try … thenthe result Glossary: Valuevalue. Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"And Checkout source:: If you don't have a developer login at sourceforgeif you don't, you are probably only interested in Flow control: if … then Flow control: try … thenthe Glossary: Valuevalue of <variable> Flow control: if … then Flow control: try … thenthen.
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: though Flow control: if … then Flow control: try … thenthe Operators: Assignment "=" Built-in operators: Assignments:assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperator Flow control: returnreturns a result (Flow control: if … then Flow control: try … thenthe Instructions: newnew Glossary: Valuevalue of Flow control: if … then Flow control: try … thenthe Glossary: Variable, var_refvariable) List functions: thisthis result is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not automagically printed in Flow control: if … then Flow control: try … thenthe interactive vipsi shell. List functions: thisThis is done because Operators: Assignment "=" Built-in operators: Assignments:assignments Flow control: do … loopdo Operators: Bitwise Not "~" Operators: Boolean Negation "!"not start with a special Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction which "eats" Flow control: if … then Flow control: try … thenthe result.
e.g.:
Instructions: var How does VScript::Value() work?: Var*&var a = 47
Instructions: var How does VScript::Value() work?: Var*&var x,y,z; x=y=z=47
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: all Operators: Assignment "=" Built-in operators: Assignments:assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperators may be changed, so that Flow control: if … then Flow control: try … thenthe Flow control: do … loopdo no longer Flow control: returnreturn a result Glossary: Valuevalue. There are syntactical ambiguities with Flow control: if … then Flow control: try … thenthe "=" Numeric functions: signsign e.g. in Literals: List literals Lists and arrays: List literalslist literals. Changing Flow control: if … then Flow control: try … thenthe result to 'no Glossary: Valuevalue' will also allow named items in other places, e.g. passing named Vipsi command syntax: Arguments Glossary: Argumentsarguments to Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures for a obj-C-like syntax. Also, Operators: Bitwise Not "~" Operators: Boolean Negation "!"not printing results of Operators: Assignment "=" Built-in operators: Assignments:assignments in Flow control: if … then Flow control: try … thenthe shell would become more clear.
|