Vipsi command syntax: Operators Operators Glossary: OperatorOperators which only take one type of Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: try … thentry their best, to Text functions: convert Instructions: convertconvert any type of Vipsi command syntax: Arguments Glossary: Argumentsargument to Flow control: if … then Flow control: try … thenthe required type. In Operators: Add "+"addition, Flow control: if … thenif a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist is supplied to an Vipsi command syntax: Operators Operators Glossary: Operatoroperator which takes no Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists, Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe operation is applied to all items in Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
vipsi> 123 + "456" 579
vipsi> "47" + "11" 58
vipsi> 1000 + "abc"
***** Operators: Bitwise Not "~" Operators: Boolean Negation "!"not a Glossary: number, num_valnumber
vipsi> 1000 + "abc"
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Not numeric Glossary: Operator Glossary: Operandoperands are silently converted to Glossary: number, num_valnumber. Flow control: if … thenIf conversion fails, an error is generated 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 program aborts, except Flow control: if … thenif you catch Flow control: if … then Flow control: try … thenthe error with Flow control: try … thentry.
123 # "456" = "123456"
50 # 6000 = "506000"
Flow control: if … then Flow control: try … thenThe non-text Glossary: Operator Glossary: Operandoperands are silently converted Text functions: stringto text.
123 ## {4,5,6} = { 123, 4, 5, 6 }
123 ## "anton" = { 123, "anton" }
Non-list Glossary: Operator Glossary: Operandoperands are silently converted to Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists.
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: you must be cautious, Flow control: if … thenif you want to append a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist as Instructions: newnew item to another Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, that you don't append Flow control: if … then Flow control: try … thenthe contents of Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist. see --> Operators: Append List to Variable "##="concatenate lists.
Operators: Automatic type castingAutomatic type casting is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not performed for comparison Vipsi command syntax: Operators Operators Glossary: Operatoroperators. There are ambiguities which can't be resolved. Flow control: if … thenIf Glossary: Valuevalues of different Data Types Invariants: Data typesdata type are compared Flow control: if … then Flow control: try … thenthen an error is generated.
123 + {4,5,6} = {127,128,129}
Flow control: if … then Flow control: try … thenThe operation is performed on every item of Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
{1,2,3} + {4,5,6} = {5,7,9}
Flow control: if … then Flow control: try … thenThe operation is performed on every pair of matching Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist items. Excess items on either side are left as is.
Boolean Vipsi command syntax: Operators Operators Glossary: Operatoroperators && Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and || 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 Operators: Select "? :"triadic operator ?: are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not yet expanded for Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist Vipsi command syntax: Arguments Glossary: Argumentsarguments. (Version 0.8.7)
Comparison Vipsi command syntax: Operators Operators Glossary: Operatoroperators are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not expanded for Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists because comparison Vipsi command syntax: Operators Operators Glossary: Operatoroperators generally don't Text functions: convert Instructions: convertconvert their Vipsi command syntax: Arguments Glossary: Argumentsarguments, Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and you Flow control: do … loopdo can Operators: Comparisons > < >= <= != ==compare Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists. So either you pass two Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and they are compared as entities, returning a boolean Glossary: Valuevalue of 0 Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or 1, Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Flow control: if … then Flow control: try … thenthe comparison Vipsi command syntax: Operators Operators Glossary: Operatoroperators complain about mixed Data Types Invariants: Data typesdata types.
|