vipsi - the friendly vip script interpreter

Instructions

shuffle

Instructions: shuffleshuffle <list_var>

Instructions: shuffleShuffle Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
List
items are shuffled to Numeric functions: randomrandom order.

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
on Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
names
: currently (version 0.8.8), Flow control: if … then
Flow control: if … then
if the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
contains named items Flow control: if … then
Flow control: try … then
then
vipsi - the friendly one.: The namethe names are moved along with their data. Thus accessing items by Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
yields Flow control: if … then
Flow control: try … then
the
same data as prior to shuffling, except Flow control: if … thenif multiple items with same Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
are present in Flow control: if … then
Flow control: try … then
the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
. List functions: thisThis may be changed. Future version will probably only move Flow control: if … then
Flow control: try … then
the
data Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
no Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
names
.

e.g.:

vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
mylist = {1,2,3,4,5,six=6,7,8,9,0}
vipsi> Instructions: shuffleshuffle mylist vipsi> mylist = { 1, 7, 4, 5, 0, 3, 9, six=6, 8, 2 } vipsi> Instructions: shuffleshuffle mylist vipsi> mylist = { 1, six=6, 8, 2, 3, 4, 0, 5, 7, 9 } vipsi>

Valid HTML   Valid CSS