vipsi - the friendly vip script interpreter

Instructions

file

Text functions: file
Instructions: file
file
<filename> Text functions: file
Instructions: file
file
<filename> = <text> Text functions: file
Instructions: file
file
<filename> #= <text>

Create a Instructions: newnew Text functions: file
Instructions: file
file
Operators: Make Identifier "@"at Text functions: file
Instructions: file
file
system location <filename> Flow control: if … thenif it Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
already Numeric functions: existsexists.

Flow control: if … then
Flow control: try … then
The
<path> must be a Glossary: text, text_valtext value. Flow control: if … then
Flow control: try … then
The
path may be a full Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
partial path Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may start with '~' for Flow control: if … then
Flow control: try … then
the
user's home directory. Symbolic Text functions: link
Instructions: link
links
are followed. All path components except Flow control: if … then
Flow control: try … then
the
last one must Numeric functions: existsexist Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Text functions: file
Instructions: file
file
fails with an error which may be caught with Flow control: try … thentry.

Text functions: file
Instructions: file
file
without a following Operators: Assignment "="
Built-in operators: Assignments:
assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
just creates Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
touches Flow control: if … then
Flow control: try … then
the
Text functions: file
Instructions: file
file
. (bogus in version 0.8.7: truncates!)

Text functions: file
Instructions: file
file
followed by Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
= rewinds Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
truncates Flow control: if … then
Flow control: try … then
the
Text functions: file
Instructions: file
file
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Instructions: writewrites Flow control: if … then
Flow control: try … then
the
<text> in Integer numbers: Binary
Floating point: Binary
Text functions: binstr
binary
mode to Flow control: if … then
Flow control: try … then
the
Text functions: file
Instructions: file
file
.

Text functions: file
Instructions: file
file
followed by Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
#= appends Flow control: if … then
Flow control: try … then
the
<text> in Integer numbers: Binary
Floating point: Binary
Text functions: binstr
binary
mode to Flow control: if … then
Flow control: try … then
the
Text functions: file
Instructions: file
file
.

All character codes should be in range 0 ... 255 Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
they are chopped losing information. You should Text functions: convert
Instructions: convert
convert
character encoding beforehand manually with Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Functions
Functions
Glossary: Function
function
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Text functions: convert
Instructions: convert
convert
, most likely to utf8.

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
Text functions: file
Instructions: file
file
, which Instructions: readreads from a Text functions: file
Instructions: file
file
.

List functions: thisThis Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
may fail for a Glossary: number, num_valnumber of reasons Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: exit
Shell Immediate Commands: exit, quit, end
exit
with an error. e.g.:

e.g.:

li> Text functions: file
Instructions: file
file
"dump" = List functions: globals
Shell Immediate Commands: globals
globals
li>
Instructions: var
How does VScript::Value() work?: Var*&
var
myText = Text functions: file
Instructions: file
file
"~/.myPrefs/rcData" Text functions: convert
Instructions: convert
convert
myText from utf8 ... Text functions: convert
Instructions: convert
convert
myText to utf8 Text functions: file
Instructions: file
file
"~/.myPrefs/rcData" = myText

Valid HTML   Valid CSS