A reference to a Glossary: Variable, var_refvariable. List functions: thisThis is required for Operators: Assignment "=" Built-in operators: Assignments:assignments. In Flow control: if … then Flow control: try … thenthe following example a is passed as a reference to Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Operators Operators Glossary: Operatoroperator =, so that it can store data in it.
a = 77
Frequently an Vipsi command syntax: Expressions Glossary: Expressionexpression Flow control: returnreturns Operators: Bitwise Not "~" Operators: Boolean Negation "!"not only a 'simple Glossary: Valuevalue', but a reference to a Glossary: Variable, var_refvariable, which contains Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Expressions Glossary: Expressionexpressions result. List functions: thisThis is done whenever it is possible. You won't notice Flow control: if … then Flow control: try … thenthe difference unless you maliciously modify Flow control: if … then Flow control: try … thenthe referenced Glossary: Variable, var_refvariable before it is passed to who ever needed Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Arguments Glossary: Argumentsargument, Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or unless you want to store data in it, as Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Operators Operators Glossary: Operatoroperator = Flow control: do … loopdoes.
Flow control: if … then Flow control: if … thenIf the term <variable> Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or <var_ref> is used to declare an Vipsi command syntax: Arguments Glossary: Argumentsargument type for a Vipsi command syntax: Functions Functions Glossary: Functionfunction 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 like, Flow control: if … then Flow control: try … thenthen List functions: thisthis means, that Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction Instructions: requirerequires a Glossary: Valuevalue which must be a Glossary: Variable, var_refvariable reference.
Flow control: if … then Flow control: if … thenIf the term <variable> Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or <var_ref> is used to declare an result type of a Vipsi command syntax: Functions Functions Glossary: Functionfunction 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 like, Flow control: if … then Flow control: try … thenthen List functions: thisthis means, that Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction Flow control: returnreturns a Glossary: Valuevalue which is always a Glossary: Variable, var_refvariable reference.
A reference to a Glossary: Variable, var_refvariable which contains numeric data. List functions: thisThis is required for Vipsi command syntax: Operators Operators Glossary: Operatoroperator += 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 like. In Flow control: if … then Flow control: try … thenthe following example a is passed by reference to Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Operators Operators Glossary: Operatoroperator +=, so that List functions: thisthis Vipsi command syntax: Operators Operators Glossary: Operatoroperator can store data in a.
a += 77
A reference to a Glossary: Variable, var_refvariable which contains Data Types: Text Item selector "[]": Text Glossary: text, text_valtext data. List functions: thisThis is required for Vipsi command syntax: Operators Operators Glossary: Operatoroperator #= 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 like. In Flow control: if … then Flow control: try … thenthe following example a is passed by reference to Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Operators Operators Glossary: Operatoroperator #=, so that List functions: thisthis Vipsi command syntax: Operators Operators Glossary: Operatoroperator can store data in a.
a #= "bruckner"
A reference to a Glossary: Variable, var_refvariable which contains a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist. List functions: thisThis is required for Vipsi command syntax: Operators Operators Glossary: Operatoroperator ##=. In Flow control: if … then Flow control: try … thenthe following example a is passed by reference to Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Operators Operators Glossary: Operatoroperator ##=, so that List functions: thisthis Vipsi command syntax: Operators Operators Glossary: Operatoroperator can store data in a.
a ##= { 77, 33 }
A Glossary: Valuevalue of any kind. Currently List functions: thisthis may be a Glossary: number, num_valnumber, a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext, a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or a Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure. Vipsi command syntax: Operators Operators Glossary: OperatorOperators, Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, Vipsi command syntax: Functions Functions Glossary: Functionfunctions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and self-defined Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures Instructions: requirerequire Glossary: Valuevalues as Vipsi command syntax: Arguments Glossary: Argumentsarguments. Only some of The Built-in Wordsthe built-in words Instructions: requirerequire Flow control: if … then Flow control: try … thenthe Glossary: Valuevalue also to be a reference to a Glossary: Variable, var_refvariable, a <var_ref>.
Vipsi command syntax: Expressions Glossary: ExpressionExpressions yield a Glossary: Valuevalue as result, which sometimes may also be a Glossary: Variable, var_refvariable reference.
e.g.:
a + 33
"anton"#" ist doof."
"anton"
a // Flow control: returnreturns a reference to a
Flow control: if … then Flow control: if … thenIf the term <value> is used to declare an Vipsi command syntax: Arguments Glossary: Argumentsargument type for a Vipsi command syntax: Functions Functions Glossary: Functionfunction 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 like, Flow control: if … then Flow control: try … thenthen List functions: thisthis means, that Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction Instructions: requirerequires a Glossary: Valuevalue, which may also be a Glossary: Variable, var_refvariable reference.
Flow control: if … then Flow control: if … thenIf the term <value> is used to declare an result type of a Vipsi command syntax: Functions Functions Glossary: Functionfunction 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 like, Flow control: if … then Flow control: try … thenthen List functions: thisthis means, that Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction Flow control: returnreturns a Glossary: Valuevalue, which may also be a Glossary: Variable, var_refvariable reference in some cases.
A numeric Glossary: Valuevalue. Functions: Numeric functionsNumeric functions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and numeric Vipsi command syntax: Operators Operators Glossary: Operatoroperators Flow control: returnreturn a numeric Glossary: Valuevalue. e.g.:
33+4
Numeric functions: sinsin(Constants: pipi/3)
A Glossary: text, text_valtext value. Functions: Text functionsString functions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Data Types: Text Text functions: stringstring Select "? :": Concatenationconcatenation Flow control: returnreturn a Glossary: text, text_valtext value. e.g.
Text functions: leftstrleftstr("ssssssssssssss",3)
"anton" # " " # "bruckner"
A Glossary: list, list_vallist value. Type casting: List concatenationList concatenation Flow control: returnreturn a Glossary: list, list_vallist value. e.g.
{ 1, 2, 3, 4 } ## { 5 }
Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, IdentifierNames are required to identify Glossary: Variable, var_refvariables. In List functions: thisthis sense they Flow control: do … loopdo Operators: Bitwise Not "~" Operators: Boolean Negation "!"not refer to vipsi - the friendly one.: The namethe names of built-in List functions: words Shell Immediate Commands: wordswords. Whenever a Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername is encountered where a Glossary: Valuevalue is expected, vipsi - the friendly one.: The namethe name is taken as a Glossary: Variable, var_refvariable's Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername 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 Glossary: Variable, var_refvariable is looked up, yielding a reference to that Glossary: Variable, var_refvariable.
Example:
Instructions: putput a // 'a' is taken as a Glossary: Variable, var_refvariable's Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername
// Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and that Glossary: Variable, var_refvariable is printed
a = 77 // 'a' is taken as a Glossary: Variable, var_refvariable's Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername
// Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and a reference to that Glossary: Variable, var_refvariable
// is passed to Vipsi command syntax: Operators Operators Glossary: Operatoroperator '='
Some Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, Vipsi command syntax: Functions Functions Glossary: Functionfunctions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Vipsi command syntax: Operators Operators Glossary: Operatoroperators explicitly Instructions: requirerequire a Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername as one of their Vipsi command syntax: Arguments Glossary: Argumentsarguments. Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, IdentifierNames can also be calculated, using Flow control: if … then Flow control: try … thenthe @ prefix Vipsi command syntax: Operators Operators Glossary: Operatoroperator, which Flow control: returnreturns none of Flow control: if … then Flow control: try … thenthe known 4 Data Types Invariants: Data typesdata types but a Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername.
Examples:
mylist.foo // Vipsi command syntax: Operators Operators Glossary: Operatoroperator '.' Instructions: requirerequires a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and a Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername
Text functions: convert Instructions: convertconvert mytext to html // special syntax, 'html' is a Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername
Instructions: var How does VScript::Value() work?: Var*&var a="foo"
Instructions: putput mylist.@a // Vipsi command syntax: Operators Operators Glossary: Operatoroperator '@' supplies vipsi - the friendly one.: The namethe name to '.'
Every program is made out of a sequence of Vipsi command syntax: Statements Glossary: Statementstatements simply appended one after Flow control: if … then Flow control: try … thenthe other. Vipsi command syntax: Statements Glossary: StatementStatements start with an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, which is a built-in List functions: words Shell Immediate Commands: wordsword Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure which Flow control: do … loopdoes Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Flow control: returnreturn a result Glossary: Valuevalue (Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or which is ignored) Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and are frequently followed by Vipsi command syntax: Arguments Glossary: Argumentsarguments, which are Vipsi command syntax: Expressions Glossary: Expressionexpressions. Multiple Vipsi command syntax: Arguments Glossary: Argumentsarguments are separated by Separators: Comma ","commas.
Vipsi command syntax: Statements Glossary: StatementStatements may also be Vipsi command syntax: Expressions Glossary: Expressionexpressions, that is, they may Flow control: returnreturn a result Glossary: Valuevalue which is simply ignored. Only Flow control: if … then Flow control: try … thenthe vipsi shell prints result Glossary: Valuevalues for your convenience, Flow control: if … thenif they don't result from an Operators: Assignment "=" Built-in operators: Assignments:assignment.
i=0 Flow control: do … loopdo Flow control: if … thenif i==1 Instructions: putput "i=1",Constants: nlnl Flow control: exit Shell Immediate Commands: exit, quit, endexit Flow control: if … then Flow control: try … thenelse i++ Instructions: putput "*" Flow control: if … then Flow control: try … thenthen Flow control: do … looploop
List functions: thisthis breaks up into Flow control: if … then Flow control: try … thenthe following Vipsi command syntax: Statements Glossary: Statementstatements:
i=0 Vipsi command syntax: Expressions Glossary: Expressionexpression, Vipsi command syntax: Operators Operators Glossary: Operatoroperator "=" Flow control: returnreturns a result
Flow control: do … loopdo Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, no Vipsi command syntax: Arguments Glossary: Argumentsarguments
Flow control: if … thenif i==1 Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, 1 Vipsi command syntax: Arguments Glossary: Argumentsargument
Instructions: putput "i=1",Constants: nlnl Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, 2 Vipsi command syntax: Arguments Glossary: Argumentsarguments
Flow control: exit Shell Immediate Commands: exit, quit, endexit Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, no Vipsi command syntax: Arguments Glossary: Argumentsargument
Flow control: if … then Flow control: try … thenelse Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, no Vipsi command syntax: Arguments Glossary: Argumentsargument
i++ Vipsi command syntax: Expressions Glossary: Expressionexpression, Vipsi command syntax: Operators Operators Glossary: Operatoroperator "++" Flow control: returnreturns a result
Instructions: putput "*" Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, 1 Vipsi command syntax: Arguments Glossary: Argumentsargument
Flow control: if … then Flow control: try … thenthen Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, no Vipsi command syntax: Arguments Glossary: Argumentsarguments
Flow control: do … looploop Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction, no Vipsi command syntax: Arguments Glossary: Argumentsarguments
All these are Vipsi command syntax: Statements Glossary: Statementstatements.
Most Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, Vipsi command syntax: Functions Functions Glossary: Functionfunctions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures Instructions: requirerequire some Instructions: sortsort of Vipsi command syntax: Arguments Glossary: Argumentsarguments, which must be passed to Flow control: if … then Flow control: try … thenthem when they are executed. Some Instructions: requirerequire no, some one, some multiple Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and some even accept a varying ammount of Vipsi command syntax: Arguments Glossary: Argumentsarguments. Each Vipsi command syntax: Arguments Glossary: Argumentsargument is made out of one Vipsi command syntax: Expressions Glossary: Expressionexpression, which yields a Glossary: Valuevalue as result which in Flow control: returnreturn is passed as Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Arguments Glossary: Argumentsargument to Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction. Multiple Vipsi command syntax: Arguments Glossary: Argumentsarguments are separated with Separators: Comma ","commas.
e.g.:
Instructions: putput Numeric functions: sinsin(2*Constants: pipi)
Flow control: if … then Flow control: try … thenThe Vipsi command syntax: Expressions Glossary: Expressionexpression '2*Constants: pipi' is taken as an Vipsi command syntax: Arguments Glossary: Argumentsargument for Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction 'Numeric functions: sinsin', which itself Flow control: returnreturns a Glossary: Valuevalue.
Flow control: if … then Flow control: try … thenThe Vipsi command syntax: Expressions Glossary: Expressionexpression 'Numeric functions: sinsin(2*Constants: pipi)' is taken as an Vipsi command syntax: Arguments Glossary: Argumentsargument for Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction 'Instructions: putput' which Flow control: do … loopdoes Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Flow control: returnreturn a result. That's why it is an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction.
Vipsi command syntax: Expressions Glossary: ExpressionExpressions are in Flow control: if … then Flow control: try … thenthe simplest case Glossary: Valuevalues. These may be Constants Glossary: Constantconstants, Vipsi command syntax: Literals Glossary: Literalliterals, Vipsi command syntax: Functions Functions Glossary: Functionfunction Functions with varying return types: call Instructions: callcalls Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure Functions with varying return types: call Instructions: callcalls. More mocked-up Vipsi command syntax: Expressions Glossary: Expressionexpressions are Vipsi command syntax: Expressions Glossary: Expressionexpressions linked by Vipsi command syntax: Operators Operators Glossary: Operatoroperators. Most (all?) Vipsi command syntax: Expressions Glossary: Expressionexpressions Flow control: returnreturn a result Glossary: Valuevalue, which also may be a Glossary: Variable, var_refvariable reference.
Examples:
12345
"multimixmode"
Numeric functions: sinsin(22)
Foo(2,3/i)
123 + 456 / 789
myList[33]
+(33-a)
Flow control: if … thenIf a Glossary: Valuevalue is written verbatim in a program, Flow control: if … then Flow control: try … thenthen List functions: thisthis is called a Vipsi command syntax: Literals Glossary: Literalliteral. Flow control: if … then Flow control: try … thenThe vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript language knows about 4 Data Types Invariants: Data typesdata types, Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and so there are 4 kinds of Vipsi command syntax: Literals Glossary: Literalliterals:
All Vipsi command syntax: Literals Glossary: Literalliterals a similar to Constants Glossary: Constantconstants. Constants Glossary: ConstantConstants may be considered as named Vipsi command syntax: Literals Glossary: Literalliterals. As Constants Glossary: Constantconstants, Vipsi command syntax: Literals Glossary: Literalliterals Flow control: returnreturn a Glossary: Valuevalue of their respective type, which obviously is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not a ref_var, a reference to a Glossary: Variable, var_refvariable.
Vipsi command syntax: Instructions Instructions Glossary: InstructionInstructions are built-in List functions: words Shell Immediate Commands: wordswords Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or user-defined Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures, which Flow control: returnreturn no result Glossary: Valuevalue. For that reason they can't be part of an Vipsi command syntax: Expressions Glossary: Expressionexpression. Therefore they can only occur as first List functions: words Shell Immediate Commands: wordsword in a Vipsi command syntax: Statements Glossary: Statementstatement. Most Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions Instructions: requirerequire Vipsi command syntax: Arguments Glossary: Argumentsarguments, which are made out of Vipsi command syntax: Expressions Glossary: Expressionexpressions, which in Flow control: returnreturn are made out of Glossary: Valuevalues Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and maybe Vipsi command syntax: Operators Operators Glossary: Operatoroperators.
In Flow control: if … then Flow control: try … thenthe terms of Flow control: if … then Flow control: try … thenthe vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript language, Vipsi command syntax: Functions Functions Glossary: Functionfunctions are built-in List functions: words Shell Immediate Commands: wordswords, which Flow control: returnreturn a result Glossary: Valuevalue.
e.g.:
Instructions: putput Numeric functions: sinsin(2)
Instructions: putput Numeric functions: log2log2(16)
Instructions: putput Numeric functions: sqrtsqrt 100
Instructions: putput List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv
Instructions: putput Numeric functions: minmin(2,3)
Flow control: if … thenIf a Vipsi command syntax: Functions Functions Glossary: Functionfunction takes no Vipsi command syntax: Arguments Glossary: Argumentsarguments, Flow control: if … then Flow control: try … thenthen it must Operators: Bitwise Not "~" Operators: Boolean Negation "!"not be called with Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis. Flow control: if … thenIf a Vipsi command syntax: Functions Functions Glossary: Functionfunction takes exactly one Vipsi command syntax: Arguments Glossary: Argumentsargument, Flow control: if … then Flow control: try … thenthen it may be called with Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or without Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis. Flow control: if … thenIf called without Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction has very high binding to it's Vipsi command syntax: Arguments Glossary: Argumentsargument, like a prefix Add "+": Monadic operator "+" Subtract "-": Monadic operator "-" Built-in operators: monadic operators:monadic operator, so that most Vipsi command syntax: Operators Operators Glossary: Operatoroperators will fall out of Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Arguments Glossary: Argumentsargument. Flow control: if … thenIf a Vipsi command syntax: Functions Functions Glossary: Functionfunction takes 2 Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or more Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or a varying amount of Vipsi command syntax: Arguments Glossary: Argumentsarguments, Flow control: if … then Flow control: try … thenthen it must be called with Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis.
In Flow control: if … then Flow control: try … thenthe terms of Flow control: if … then Flow control: try … thenthe vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript language, Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures are Flow control: if … then Flow control: try … thenthe user defined Vipsi command syntax: Functions Functions Glossary: Functionfunctions Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions. Vipsi command syntax: Procedures Data Types: Procedures Glossary: ProcedureProcedures are one of Flow control: if … then Flow control: try … thenthe 4 Glossary: Variable, var_refvariable types.
Typical definition:
Instructions: procproc Anton(a) { Flow control: returnreturn a*a }
Instructions: var How does VScript::Value() work?: Var*&var Berta = Instructions: procproc(a,b) { Instructions: putput a,b }
Typical invocation:
Instructions: putput Anton(33)
Berta(1,2)
Vipsi command syntax: Operators Operators Glossary: OperatorOperators are, with rare exceptions, named with special characters to make Flow control: if … then Flow control: try … thenthem self-separating from Flow control: if … then Flow control: try … thenthe surrounding Glossary: Valuevalues. Vipsi command syntax: Operators Operators Glossary: OperatorOperators combine Flow control: if … then Flow control: try … thenthe left- Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and right-side Vipsi command syntax: Expressions Glossary: Expressionexpressions to another, larger Vipsi command syntax: Expressions Glossary: Expressionexpression.
e.g.:
123 + 345 * 567
'123', '345' Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and '567' are numeric Glossary: Valuevalues Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and therefore also Vipsi command syntax: Expressions Glossary: Expressionexpressions - Flow control: if … then Flow control: try … thenthe simplest possible ones. Vipsi command syntax: Operators Operators Glossary: OperatorOperator * combines '345' Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and '567' to a larger Vipsi command syntax: Expressions Glossary: Expressionexpression: '345 * 567'. Vipsi command syntax: Operators Operators Glossary: OperatorOperator + combines '123' Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and '345 * 567' to Flow control: if … then Flow control: try … thenthe final Vipsi command syntax: Expressions Glossary: Expressionexpression: '123 + 345 * 567'.
There are also Add "+": Monadic operator "+" Subtract "-": Monadic operator "-" Built-in operators: monadic operators:monadic operators, which only take one Vipsi command syntax: Arguments Glossary: Argumentsargument. Preceding Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or prefix Vipsi command syntax: Operators Operators Glossary: Operatoroperators stand before their Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: whilewhile postfix Vipsi command syntax: Operators Operators Glossary: Operatoroperators stand thereafter.
Prefix Vipsi command syntax: Operators Operators Glossary: Operatoroperators:
+ - ++ --
Postfix Vipsi command syntax: Operators Operators Glossary: Operatoroperators:
++ -- () []
Last Operators: Bitwise Not "~" Operators: Boolean Negation "!"not least there is one Operators: Select "? :"triadic operator: Flow control: if … then Flow control: try … thenThe Operators: Select "? :"selection operator ? .. : which consists of two tokens which separate it's three Vipsi command syntax: Arguments Glossary: Argumentsarguments.
Vipsi command syntax: Arguments Glossary: ArgumentsArguments to Vipsi command syntax: Operators Operators Glossary: Operatoroperators are called Glossary: Operator Glossary: Operandoperands.
Flow control: if … then Flow control: try … thenThe vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript language defines some few Constants Glossary: Constantconstants. These are Constants: pipi, Constants: ecec (Euler's Constants Glossary: Constantconstant), Constants: stdinstdin, Constants: stdoutstdout Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Constants: stderrstderr, Flow control: if … then Flow control: try … thenthe Data Types: Numbersnumbers of Flow control: if … then Flow control: try … thenthe standard streams. (version 0.8.7) All these Constants Glossary: Constantconstants Flow control: returnreturn a numeric Glossary: Valuevalue, Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Glossary: number, num_valnum_val.
|