# Using Functions and Operators

> Source: https://manual.pvxplus.com/webster/using-functions-and-operators

The **[\[addcalc\]](https://manual.pvxplus.com/webster/short-codes#addcalc)** and **[\[depends\]](https://manual.pvxplus.com/webster/short-codes#depends)** short codes, as well as the **[calc=xxx](https://manual.pvxplus.com/webster/short-code-options#calc)** short code option, are evaluated by the browser, which means the code ***must*** be in JavaScript.

To make it easier to use, some PxPlus system functions (see **[Webster+ Calculations](https://manual.pvxplus.com/webster/webster-calculations)**) and PxPlus comparison operators (**=**, **\<>**, **=\<**, **=>**, **and**, **or**) are supported in JavaScript. For these short codes and short code option, PxPlus includes logic that automatically converts them to JavaScript.

***Example:***

```
[depends "cvs(lcs(Country$)<>"canada" and lcs(Country$)<>"u.s.","ASCII:HTML")" disable=TAX invert]
```

In this example, to allow spaces, the code is surrounded in quotes. The code is also converted to HTML, so HTML special characters, including quotes, are handled.

The **[\[if\]](https://manual.pvxplus.com/webster/short-codes#if)** short code is different in that it is evaluated by the server and allows PxPlus code.
