Instructions: deldel <name>
Instructions: deldel *
Instructions: deldel Instructions: var How does VScript::Value() work?: Var*&var <name>
Instructions: deldel Instructions: procproc <name>
Instructions: deldel Text functions: file Instructions: filefile <filename>
Instructions: deldel Text functions: link Instructions: linklink <filename>
Instructions: deldel List functions: dir Instructions: dir Shell Immediate Commands: dirdir <filename>
Delete Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and forget Glossary: Variable, var_refvariable, Text functions: file Instructions: filefile, Text functions: link Instructions: linklink Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or directory.
Use Flow control: if … then Flow control: try … thenthe special Vipsi command syntax: Arguments Glossary: Argumentsargument * to delete all 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: Procedureprocedures inside Flow control: if … then Flow control: try … thenthe current context, e.g. within Flow control: if … then Flow control: try … thenthe current Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure, List functions: localslocal (private) context Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or really all List functions: globals Shell Immediate Commands: globalsglobal Glossary: Variable, var_refvariables.
Instructions: deldel can also be used to delete individual items in Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists.
e.g.:
Instructions: deldel a, b[1], c.wert, Text functions: file Instructions: filefile "trashfile"
Instructions: deldel *
Instructions: deldel fails with an error Flow control: if … then Flow control: if … thenif the addressed item Flow control: do … loopdoes Operators: Bitwise Not "~" Operators: Boolean Negation "!"not Numeric functions: existsexist Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or is of wrong type. You can catch List functions: thisthis error with Flow control: try … thentry though. Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"Or verify Flow control: if … then Flow control: try … thenthe existence with Numeric functions: existsexists beforehand.
Flow control: if … then Flow control: try … thenThe <filename> must be a Glossary: text, text_valtext value Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and 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 Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or may start with '~' for Flow control: if … then Flow control: try … thenthe user's home directory.
Instructions: deldel Text functions: file Instructions: filefile Instructions: requirerequires Flow control: if … then Flow control: try … thenthe target to be a Text functions: file Instructions: filefile Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or it will fail with an error. A symbolic Text functions: link Instructions: linklink is followed.
Instructions: deldel List functions: dir Instructions: dir Shell Immediate Commands: dirdir Instructions: requirerequires Flow control: if … then Flow control: try … thenthe target to be a directory Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and empty Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or it will fail with an error. A symbolic Text functions: link Instructions: linklink is followed.
Instructions: deldel Text functions: link Instructions: linklink Instructions: requirerequires Flow control: if … then Flow control: try … thenthe target to be a symbolic Text functions: link Instructions: linklink Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or it will fail with an error. A symbolic Text functions: link Instructions: linklink is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not followed. Obviously.
|