Decrement

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "Decrement is a Data Command. This command will decrement a variable set to a number by one. == Example == <pre> navigate("http://www.google.com/", "Wait")...")

Revision as of 18:05, 22 March 2013

Decrement is a Data Command.

This command will decrement a variable set to a number by one.

Example


navigate("http://www.google.com/", "Wait")
set(#one, 5, "Global")
loop(5) {
    decrement(#one)
    type text(<name="q">, #one, "Standard")
}

The number 5 in the variable #one is decremented until it gets to 0.

Notice that in order to decrement the number in the variable, the variable is inserted into the decrement command.

File:Decrement.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox