vipsi - the friendly vip script interpreter

Operators

Make Identifier "@"

<name> = @<text>

Flow control: returnReturns Flow control: if … then
Flow control: try … then
the
Glossary: text, text_valtext value converted to a Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
.

Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
Names
are identifiers for Glossary: Variable, var_refvariables 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: Procedure
procedures
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
some special Vipsi command syntax: Functions
Functions
Glossary: Function
functions
like Text functions: convert
Instructions: convert
convert
. Using Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
@ it is possible to calculate Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
names
for Glossary: Variable, var_refvariables etc. Operators: Make Identifier "@"at runtime.

e.g.:

Instructions: var
How does VScript::Value() work?: Var*&
var
a=1; Instructions: var
How does VScript::Value() work?: Var*&
var
theName="a"; Instructions: putput @theName; Instructions: var
How does VScript::Value() work?: Var*&
var
tabWidth=4 Text functions: convert
Instructions: convert
convert
myText to @(Constants: tabtab#tabWidth)

All Add "+": Monadic operator "+"
Subtract "-": Monadic operator "-"
Built-in operators: monadic operators:
monadic operators
have highest Glossary: Operator
Glossary: Operand
operand
binding but Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
@ tops Flow control: if … then
Flow control: try … then
them
all. Flow control: if … thenIf you want to pass a calculated Vipsi command syntax: Expressions
Glossary: Expression
expression
to List functions: thisthis Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
it's best that you always use Separators: Round brackets "( … )"
Functions with varying return types: bracket expression "()"
parenthesis
.

e.g.:

wrong:
    Instructions: var
How does VScript::Value() work?: Var*&
var
@"aaaaaaaaaaa"[to 3] = 77 right: Instructions: var
How does VScript::Value() work?: Var*&
var
@("aaaaaaaaaaa"[to 3]) = 77

Flow control: if … then
Flow control: try … then
The
above example defines a Glossary: Variable, var_refvariable named 'aaa'. Flow control: if … then
Flow control: try … then
The
first version Flow control: do … loopdoes Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
work, because Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
@ has an even higher priority than range selector []. Therefore Flow control: if … then
Flow control: try … then
the
first example evaluates to:

    Instructions: var
How does VScript::Value() work?: Var*&
var
(@"aaaaaaaaaaa")[to 3] = 77 => Instructions: var
How does VScript::Value() work?: Var*&
var
aaaaaaaaaaa[to 3] = 77

which is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
what you meant Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
, lucky enough, syntactical nonsense, so that Flow control: if … then
Flow control: try … then
the
parser complains with an error.

In About this Guide: General
Built-in operators: General
general
Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
@ is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
recommended for beginners.

Valid HTML   Valid CSS