Vipsi command syntax: Instructions Instructions Glossary: InstructionInstructions are List functions: words Shell Immediate Commands: wordswords which Flow control: do … loopdo Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Flow control: returnreturn a result Glossary: Valuevalue. Since they don't Flow control: do … loopdo so, they can't be used as Vipsi command syntax: Arguments Glossary: Argumentsarguments to other Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, Vipsi command syntax: Functions Functions Glossary: Functionfunctions 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: Procedureprocedures. Any program is a sequence of Vipsi command syntax: Statements Glossary: Statementstatements which typically start with an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction (except most notably Operators: Assignment "=" Built-in operators: Assignments:assignments), executed one after Flow control: if … then Flow control: try … thenthe other, each doing some kind of magic. Hopefully.
Vipsi command syntax: Arguments Glossary: ArgumentsArguments to Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions are appended immediately. Multiple Vipsi command syntax: Arguments Glossary: Argumentsarguments, Flow control: if … thenif possible, are separated with Separators: Comma ","commas. Many Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, e.g. Flow control: if … then Flow control: try … thenthe most commonly used Instructions: putput accept any amount of Vipsi command syntax: Arguments Glossary: Argumentsarguments, all separated by Separators: Comma ","commas. They just work repeatedly on one after Flow control: if … then Flow control: try … thenthe other.
In most cases there is no need to mark Flow control: if … then Flow control: try … thenthe Flow control: end Shell Immediate Commands: exit, quit, endend of an Vipsi command syntax: Arguments Glossary: Argumentsargument Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist with a special character, though you may be accustomed to use a Separators: Semicolon ";"semicolon ";" for List functions: thisthis purpose. Flow control: if … then Flow control: try … thenThe use of Flow control: if … then Flow control: try … thenthe Separators: Semicolon ";"semicolon ";" is optional in most cases.
Examples:
Flow control: if … thenif a>2 Instructions: putput "a>2",Constants: nlnl Flow control: if … then Flow control: try … thenelse Flow control: returnreturn(a+=1) Flow control: if … then Flow control: try … thenthen
In Flow control: if … then Flow control: try … thenthe above example, bold List functions: words Shell Immediate Commands: wordswords are Vipsi command syntax: Instructions Instructions Glossary: Instructioninstructions, Flow control: if … then Flow control: try … thenthe Operators: Remainder with Variable "%=" Operators: Remainder "%"remainder are Vipsi command syntax: Arguments Glossary: Argumentsarguments to Flow control: if … then Flow control: try … thenthem. For better clarity here again with one Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction per line:
Flow control: if … thenif a>2
Instructions: putput "a>2", Constants: nlnl
Flow control: if … then Flow control: try … thenelse
Flow control: returnreturn(a+=1)
Flow control: if … then Flow control: try … thenthen
|