When you start vipsi in Modes of Operation: Interactive Shellinteractive shell mode (by just typing vipsi without a Example Scripts: CGI Scripts Example Scripts: Scriptsscript to execute), Flow control: if … then Flow control: try … thenthen vipsi interprets some Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions slightly different Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and offers some more. These are purely intended for beautified display Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and ease-of-use Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not part of Flow control: if … then Flow control: try … thenthe vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript language.
Shell Immediate Commands Invariants: Shell immediate commandsShell immediate commands are only recognized as Shell Immediate Commands Invariants: Shell immediate commandsshell immediate commands, Flow control: if … thenif they are written Operators: Make Identifier "@"at Flow control: if … then Flow control: try … thenthe very beginning of Flow control: if … then Flow control: try … thenthe command line. List functions: thisThis is intended, as they are just a quirk. I even consider Flow control: if … then Flow control: try … thenthem more as a kludge. B-)
Additionally may be noted here, that Flow control: if … then Flow control: try … thenthe vipsi shell prints results as they ocure, e.g. you can display Flow control: if … then Flow control: try … thenthe contents of Glossary: Variable, var_refvariable foo by just typing:
vipsi> foo "bar"
List functions: thisThis will print it's result, regardless whether it's numeric, 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 even a Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure.
From within a Example Scripts: CGI Scripts Example Scripts: Scriptsscript there is no such magic as provided by Flow control: if … then Flow control: try … thenthe vipsi shell, Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and any Vipsi command syntax: Expressions Glossary: Expressionexpression which happens to yield a result which no Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction is interesting in is just discarded. Flow control: if … thenIf you want to print Flow control: if … then Flow control: try … thenthe contents of a Glossary: Variable, var_refvariable foo, from within a Example Scripts: CGI Scripts Example Scripts: Scriptsscript, you must use:
Instructions: putput foo
Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"Or even more sophisticated:
Flow control: if … thenif Numeric functions: istextistext(foo)
Instructions: putput Text functions: convert Instructions: convertconvert(foo to quoted)
Flow control: if … then Flow control: try … thenelse
Instructions: putput foo
Flow control: if … then Flow control: try … thenthen
Because Instructions: putput foo will Operators: Bitwise Not "~" Operators: Boolean Negation "!"not quote Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and escape Data Types: Text Item selector "[]": Text Glossary: text, text_valtexts, but print Flow control: if … then Flow control: try … thenthem 'as is'.
In Flow control: if … then Flow control: try … thenthe shell you'd probably inspect Flow control: if … then Flow control: try … thenthe Glossary: Variable, var_refvariable type with one Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and simply use Flow control: if … then Flow control: try … thenthe appropriate version in Flow control: if … then Flow control: try … thenthe Flow control: nextnext command, without Flow control: if … then Flow control: try … thenthe look-ahead thinking Flow control: if … thenif .. Flow control: if … then Flow control: try … thenthen:
vipsi> Numeric functions: istextistext foo 0
vipsi> Instructions: putput foo 4711
vipsi>
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: though Flow control: if … then Flow control: try … thenthe Operators: Assignment "=" Built-in operators: Assignments:assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperator Flow control: returnreturns a result (Flow control: if … then Flow control: try … thenthe Instructions: newnew Glossary: Valuevalue of Flow control: if … then Flow control: try … thenthe Glossary: Variable, var_refvariable) List functions: thisthis result is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not automagically printed in Modes of Operation: Interactive Shellinteractive shell mode. List functions: thisthis is done because Operators: Assignment "=" Built-in operators: Assignments:assignments Flow control: do … loopdo Operators: Bitwise Not "~" Operators: Boolean Negation "!"not start with a special Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction which "eats" Flow control: if … then Flow control: try … thenthe result Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and so Flow control: if … then Flow control: try … thenthe result would be printed every time you make an Operators: Assignment "=" Built-in operators: Assignments:assignment. You probably know which Glossary: Valuevalue you have just assigned.
Instructions: cd Shell Immediate Commands: cdcd Instructions: newnew/working/List functions: dir Instructions: dir Shell Immediate Commands: dirdir
Change working directory.
List functions: thisThis shell command Flow control: do … loopdoes Flow control: if … then Flow control: try … thenthe same as Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Instructions: cd Shell Immediate Commands: cdcd.
Flow control: if … then Flow control: try … thenThe only difference is that Flow control: if … then Flow control: try … thenthe path can optionally be given with no quotes. Flow control: if … thenIf it is a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext Vipsi command syntax: Expressions Glossary: Expressionexpression Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe real Instructions: cd Shell Immediate Commands: cdcd Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction is executed.
vipsi> Instructions: cd Shell Immediate Commands: cdcd ..
vipsi> Instructions: cd Shell Immediate Commands: cdcd "~"
vipsi>
List functions: dir Instructions: dir Shell Immediate Commands: dirdir <text>
List functions: dir Instructions: dir Shell Immediate Commands: dirdir unquoted path
Display a beautified Online Chat: Listings Search Site: Listing Print Environment: Listing Online Z80 Assembler: Listing Show Beautified Folder Listings: Listing Sort-of-a Shell: Listing Factorial "!": Listing Prime Factor Factorizing: Listing Speedometer: Listing VIP Script Test Suite: Listinglisting of Flow control: if … then Flow control: try … thenthe directory Operators: Make Identifier "@"at Text functions: file Instructions: filefile system position <text>. Flow control: if … then Flow control: try … thenThe Data Types: Text Item selector "[]": Text Glossary: text, text_valtext may be a standard vip Example Scripts: CGI Scripts Example Scripts: Scriptsscript Data Types: Text Item selector "[]": Text Glossary: text, text_valtext Vipsi command syntax: Expressions Glossary: Expressionexpression Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or, for your convenience only, an unquoted path. Flow control: if … then Flow control: try … thenThe path may be full Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or partial Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or start with ~ for Flow control: if … then Flow control: try … thenthe user's home directory Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may contain a Numeric functions: matchmatch pattern with Operators: Multiply "*"wildcards for Text functions: file Instructions: filefiles to Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
Displayed dir: lengthlength is in bytes for Text functions: file Instructions: filefiles Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Glossary: number, num_valnumber of entries for directories. Symbolic Text functions: link Instructions: linklinks are dereferenced prior to Online Chat: Listings Search Site: Listing Print Environment: Listing Online Z80 Assembler: Listing Show Beautified Folder Listings: Listing Sort-of-a Shell: Listing Factorial "!": Listing Prime Factor Factorizing: Listing Speedometer: Listing VIP Script Test Suite: Listinglisting.
dir: flagsflags[1] is 'd' for directories Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and 'l' for symbolic Text functions: link Instructions: linklinks.
Flow control: if … thenIf you pass an empty Data Types: Text Item selector "[]": Text Glossary: text, text_valtext "" to List functions: dir Instructions: dir Shell Immediate Commands: dirdir, Flow control: if … then Flow control: try … thenthen a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of mounted devices is printed. Operators: Bitwise Not "~" Operators: Boolean Negation "!"Not all information can currently be deduced on all systems. List functions: thisThis feature will probably be moved into a separate Vipsi command syntax: Functions Functions Glossary: Functionfunction in Flow control: if … then Flow control: try … thenthe near future.
There is also an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction List functions: dir Instructions: dir Shell Immediate Commands: dirdir, which creates a directory Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and a Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: dir Instructions: dir Shell Immediate Commands: dirdir, which Flow control: returnreturns a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of Flow control: if … then Flow control: try … thenthe dirctory contents.
vipsi> List functions: dir Instructions: dir Shell Immediate Commands: dirdir "./Instructions: var How does VScript::Value() work?: Var*&var*"
Folder unix/Instructions: var How does VScript::Value() work?: Var*&var* 35.882 GB free
Text functions: file Instructions: filefile Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or folder Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername dir: flagsflags dir: lengthlength modified
------------------------------- ---- ---------- -------------------
Instructions: var How does VScript::Value() work?: Var*&var.o -rw- 51072 2003-10-20 20:02:52
var_test_suite.o -rw- 87544 2003-10-20 20:02:52
vipsi> List functions: dir Instructions: dir Shell Immediate Commands: dirdir ""
Host: vanilla; User: kio(no group); SysLoad: 0.09,0.13,0.10
Time: 2003-10-20 20:33:07; Booted: 2003-10-20 17:02:38 (3h:30m:29s);
volume Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername dir: flagsflags free modified
------------------------------- ---- ---------- -------------------
/ drwx 4.710 GB 2003-10-20 20:26:17
/home drwx 41.750 GB 2003-10-20 20:25:02
/List functions: localslocal drwx 20.199 GB 2003-10-20 20:26:17
vipsi>
Shell Immediate Commands: exit, quit, endQuits Flow control: if … then Flow control: try … thenthe vipsi shell. For security, these are also only recognized as Shell Immediate Commands Invariants: Shell immediate commandsshell immediate commands Flow control: if … thenif they are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not followed by any other Data Types: Text Item selector "[]": Text Glossary: text, text_valtext on Flow control: if … then Flow control: try … thenthe command line. Flow control: if … then Flow control: try … thenElse they are passed to Flow control: if … then Flow control: try … thenthe Example Scripts: CGI Scripts Example Scripts: Scriptsscript interpreter which will probably complain with weird error messages.
vipsi> Flow control: exit Shell Immediate Commands: exit, quit, endexit
vipsi> Shell Immediate Commands: exit, quit, endquit
vipsi> Flow control: end Shell Immediate Commands: exit, quit, endend
You can also type <control-d> to Shell Immediate Commands: exit, quit, endquit vipsi Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and, currently as of version 0.8.7, <control-c> is also possible, because Flow control: if … then Flow control: try … thenthe exception is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not yet trapped, but List functions: thisthis is deprecated, because Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe terminal settings are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not cleaned up.
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note, that Flow control: exit Shell Immediate Commands: exit, quit, endexit normally is a Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction which is used to Flow control: exit Shell Immediate Commands: exit, quit, endexit fom a Flow control: do … loop Flow control: do … loopdo .. loop.
Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"And Flow control: end Shell Immediate Commands: exit, quit, endend normally is a Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction which optionally takes one Vipsi command syntax: Arguments Glossary: Argumentsargument Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: returnreturns from Flow control: if … then Flow control: try … thenthe current Example Scripts: CGI Scripts Example Scripts: Scriptsscript instance. Normally List functions: thisthis is Flow control: if … then Flow control: try … thenthe running Example Scripts: CGI Scripts Example Scripts: Scriptsscript, but you can't "Flow control: returnreturn from Flow control: if … then Flow control: try … thenthe vipsi shell" with Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Flow control: end Shell Immediate Commands: exit, quit, endend because Flow control: if … then Flow control: try … thenthe vipsi shell is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not a running Example Scripts: CGI Scripts Example Scripts: Scriptsscript (Flow control: if … then Flow control: try … thenthen you could Operators: Bitwise Not "~" Operators: Boolean Negation "!"not use Shell Immediate Commands Invariants: Shell immediate commandsshell immediate commands!) but creates Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and executes an instance for each command line you enter. So
vipsi> Flow control: if … thenif 1 Flow control: end Shell Immediate Commands: exit, quit, endend Flow control: if … then Flow control: try … thenthen Instructions: putput 22
will just print nothing. But Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Shell Immediate Commands: exit, quit, endquit. Because List functions: thisthis only terminates Flow control: if … then Flow control: try … thenthe Example Scripts: CGI Scripts Example Scripts: Scriptsscript instance which was created by Flow control: if … then Flow control: try … thenthe vipsi shell, which we just Numeric functions: nownow happen to know about, just as it Flow control: do … loopdoes every time when it reaches Flow control: if … then Flow control: try … thenthe Flow control: end Shell Immediate Commands: exit, quit, endend of Flow control: if … then Flow control: try … thenthe command line.
In a Example Scripts: CGI Scripts Example Scripts: Scriptsscript:
Flow control: if … thenif 1 Flow control: end Shell Immediate Commands: exit, quit, endend Flow control: if … then Flow control: try … thenthen Instructions: putput 22
will also Shell Immediate Commands: exit, quit, endquit Flow control: if … then Flow control: try … thenthe current Example Scripts: CGI Scripts Example Scripts: Scriptsscript instance. Flow control: if … thenIf executed in Flow control: if … then Flow control: try … thenthe originally invoked Example Scripts: CGI Scripts Example Scripts: Scriptsscript, List functions: thisthis will Flow control: end Shell Immediate Commands: exit, quit, endend Flow control: if … then Flow control: try … thenthe Example Scripts: CGI Scripts Example Scripts: Scriptsscript. Flow control: if … thenIf invoked in a Example Scripts: CGI Scripts Example Scripts: Scriptsscript included by one of Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Vipsi command syntax: Functions Functions Glossary: Functionfunctions supplied for List functions: thisthis purpose, like Functions with varying return types: include Instructions: includeinclude Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Functions with varying return types: call Instructions: callcall, List functions: thisthis will only terminate Flow control: if … then Flow control: try … thenthe included Example Scripts: CGI Scripts Example Scripts: Scriptsscript. Also, Flow control: if … thenif executed in Functions with varying return types: eval Instructions: evaleval List functions: thisthis only terminates a Operators: Subtract "-"sub instance.
But what Flow control: do … loopdo i talk about List functions: thisthis here. Should go into Flow control: if … then Flow control: try … thenthe description of Flow control: if … then Flow control: try … thenthe --> Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Flow control: end Shell Immediate Commands: exit, quit, endend.
Print beautified Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of process environment Glossary: Variable, var_refvariables.
i> List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv
There is also a Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv which Flow control: returnreturns a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of named items. You can print Flow control: if … then Flow control: try … thenthe result of Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv with:
vipsi> Instructions: putput List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv
List functions: thisThis shell immediate Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction prints a beautified Online Chat: Listings Search Site: Listing Print Environment: Listing Online Z80 Assembler: Listing Show Beautified Folder Listings: Listing Sort-of-a Shell: Listing Factorial "!": Listing Prime Factor Factorizing: Listing Speedometer: Listing VIP Script Test Suite: Listinglisting of all List functions: globals Shell Immediate Commands: globalsglobal Glossary: Variable, var_refvariables. vipsi version 0.8.7: Operators: Bitwise Not "~" Operators: Boolean Negation "!"not too much yet. List functions: thisThis is on Flow control: if … then Flow control: try … thenthe todo Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
vipsi> List functions: globals Shell Immediate Commands: globalsglobals
There is also a Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: globals Shell Immediate Commands: globalsglobals, which Flow control: returnreturns a reference to Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist Glossary: Variable, var_refvariable List functions: globals Shell Immediate Commands: globalsglobals, which contains all Flow control: if … then Flow control: try … thenthe List functions: globals Shell Immediate Commands: globalsglobal Glossary: Variable, var_refvariables:
vipsi> ;List functions: globals Shell Immediate Commands: globalsglobals // Operators: Bitwise Not "~" Operators: Boolean Negation "!"note Flow control: if … then Flow control: try … thenthe ";"
vipsi> List functions: globals Shell Immediate Commands: globalsglobals // Operators: Bitwise Not "~" Operators: Boolean Negation "!"note Flow control: if … then Flow control: try … thenthe " "
vipsi> Instructions: putput List functions: globals Shell Immediate Commands: globalsglobals // just as in a Example Scripts: CGI Scripts Example Scripts: Scriptsscript
Prints information on 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 a defined Glossary: Variable, var_refvariable. Flow control: if … then Flow control: try … thenThe List functions: words Shell Immediate Commands: wordsword to query must be written verbatim, Operators: Bitwise Not "~" Operators: Boolean Negation "!"not in quotes 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.
vipsi> Text functions: info Shell Immediate Commands: infoinfo Flow control: do … loopdo
syntax: Flow control: do … loop Flow control: do … loopdo … loop
repeat Vipsi command syntax: Statements Glossary: Statementstatements between Flow control: do … loopdo Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: do … looploop.
e.g.: Instructions: var How does VScript::Value() work?: Var*&var i=1; Flow control: do … loopdo; Instructions: putput i; Flow control: whilewhile i<10; i++; Flow control: do … looploop;
vipsi>
There is also a Vipsi command syntax: Functions Functions Glossary: Functionfunction Text functions: info Shell Immediate Commands: infoinfo which Flow control: returnreturns a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext.
Prints Flow control: if … then Flow control: try … thenthe full path of Flow control: if … then Flow control: try … thenthe current working directory.
vipsi> Shell Immediate Commands: pwdpwd
In a Example Scripts: CGI Scripts Example Scripts: Scriptsscript there is no such Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and you would probably use:
Instructions: putput Text functions: fullpathfullpath(".")
/mnt/eden/pub/Develop/projects/vipsi/unix
Print a beautified Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of all built-in List functions: words Shell Immediate Commands: wordswords.
vipsi> List functions: words Shell Immediate Commands: wordswords
_____________________________________________________________________________
Separatorsseparators:
, ( ) [ ] { }
Add "+": Monadic operator "+" Subtract "-": Monadic operator "-" Built-in operators: monadic operators:monadic operators:
++ --
Operators and Functions with Side Effects: Assignment operators = += -= *= /= %= #= ##= etc.assignment operators:
= += -= *= /= %= #= >>= <<= &&= ||= ^= &= |= ##=
other diadic Vipsi command syntax: Operators Operators Glossary: Operatoroperators:
+ - * / % # ## > < >= <= == != << >> && || & | ^ .
Operators: Select "? :"triadic operators:
? :
Constants Glossary: Constantconstants:
Constants: ecec Constants: pipi Constants: nlnl Constants: tabtab Constants: stdinstdin Constants: stdoutstdout Constants: stderrstderr
Vipsi command syntax: Functions Functions Glossary: Functionfunctions:
! ~ @ Text functions: file Instructions: filefile List functions: dir Instructions: dir Shell Immediate Commands: dirdir Text functions: link Instructions: linklink pipe sock Numeric functions: mdatemdate Numeric functions: countcount Numeric functions: indexindex Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername Numeric functions: randomrandom Numeric functions: absabs
Numeric functions: signsign Numeric functions: intint Numeric functions: fractfract Numeric functions: roundround Numeric functions: minmin Numeric functions: maxmax Numeric functions: coscos Numeric functions: sinsin Numeric functions: tantan Numeric functions: acosacos Numeric functions: asinasin Numeric functions: atanatan Numeric functions: coshcosh
Numeric functions: sinhsinh Numeric functions: tanhtanh logn Numeric functions: log2log2 Numeric functions: log Numeric functions: loge Instructions: logloge Numeric functions: log10log10 Numeric functions: exp Numeric functions: expeexp Numeric functions: exp2exp2 Numeric functions: exp Numeric functions: expeexpe Numeric functions: exp10exp10 Numeric functions: squaresquare Numeric functions: sqrtsqrt
Numeric functions: istextistext Numeric functions: isnumberisnumber Numeric functions: islistislist Numeric functions: isprocisproc Numeric functions: isfileisfile Numeric functions: isdirisdir Numeric functions: islinkislink Numeric functions: existsexists Data Types: Text Text functions: stringstring
Text functions: upperstrupperstr Text functions: lowerstrlowerstr Text functions: spacestrspacestr Text functions: charstrcharstr Numeric functions: charcodecharcode Text functions: hexstrhexstr Text functions: binstrbinstr Text functions: substrsubstr
Text functions: midstrmidstr Text functions: leftstrleftstr Text functions: rightstrrightstr Text functions: datestrdatestr Numeric functions: nownow Numeric functions: datevaldateval Numeric functions: findfind Numeric functions: rfindrfind List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv List functions: words Shell Immediate Commands: wordswords
Text functions: info Shell Immediate Commands: infoinfo List functions: globals Shell Immediate Commands: globalsglobals List functions: localslocals List functions: thisthis Numeric functions: matchmatch Text functions: fullpathfullpath
Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions:
Functions with varying return types: eval Instructions: evaleval Functions with varying return types: call Instructions: callcall Text functions: sys Instructions: syssys Functions with varying return types: include Instructions: includeinclude Instructions: requirerequire List functions: split Instructions: splitsplit Text functions: convert Instructions: convertconvert Text functions: replace Instructions: replacereplace Instructions: newnew Instructions: deldel Instructions: swapswap
Instructions: var How does VScript::Value() work?: Var*&var Instructions: freezefreeze Instructions: meltmelt Instructions: putput Numeric functions: log Numeric functions: loge Instructions: loglog Instructions: getget Instructions: editedit Instructions: getchargetchar Instructions: writewrite Instructions: readread Functions with varying return types: ioctl Instructions: ioctlioctl Instructions: waitwait
Instructions: sortsort Instructions: rsortrsort Instructions: openopen Instructions: openinopenin Instructions: openoutopenout Instructions: closeclose Instructions: renamerename ; Instructions: cd Shell Immediate Commands: cdcd
Vipsi command syntax: Flow control Flow controlflow control:
Instructions: procproc Flow control: returnreturn Flow control: end Shell Immediate Commands: exit, quit, endend Flow control: do … loopdo Flow control: if … then Flow control: try … thenthen Flow control: if … thenif Flow control: if … then Flow control: try … thenelse Flow control: if … thenelif Flow control: try … thentry Flow control: whilewhile Flow control: untiluntil Flow control: exit Shell Immediate Commands: exit, quit, endexit Flow control: nextnext
Flow control: do … looploop
Shell Immediate Commands Invariants: Shell immediate commandsshell immediate commands:
List functions: globals Shell Immediate Commands: globalsglobals List functions: words Shell Immediate Commands: wordswords Text functions: info Shell Immediate Commands: infoinfo Shell Immediate Commands: pwdpwd Instructions: cd Shell Immediate Commands: cdcd List functions: dir Instructions: dir Shell Immediate Commands: dirdir List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv Shell Immediate Commands: exit, quit, endexit quit end
vipsi>
There is also a Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: words Shell Immediate Commands: wordswords which Flow control: returnreturns a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist with vipsi - the friendly one.: The namethe names of all built-in List functions: words Shell Immediate Commands: wordswords. Flow control: if … thenIf you want to see List functions: thisthis Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist on Flow control: if … then Flow control: try … thenthe command line, you should use:
vipsi> Instructions: putput List functions: words Shell Immediate Commands: wordswords
|