<< pyGet Scithon pyImport >>

Scithon >> Scithon > pyGreater

pyGreater

Checks if value 1 is greater than value 2.

Syntax

pyGreater(arg1, arg2)

Arguments

arg1

Value to compared.

arg2

Value to be compared with.

Description

Checks if the first argument is greater than the second argument and returns the result; equivalent to arg1 > arg2. Arguments can be of type int, double, string, bool or python variable.

Example

startPy
py("a = 5")
var = pyGet("a")
pyGreater(var,3)
quitPy

Report an issue
<< pyGet Scithon pyImport >>