# Expressions

#### Switch by Normal:

```c
if(point("../resample3", 0, "N", 2)<0, 0, 1)
```

#### Menu expressions taken from Forum:

> So you could do { parma == "" parmb == "" } this would mean they both need to be true in order to work an (and) operation. Or if { parma == "" } { parmb == "" } would be an (or) operation. You can also do `==`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`!=`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`<`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`>`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`>=`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`<=`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;">, </span>`=~`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;"> (matches pattern), </span>`!~`<span style="background-color: #ffffff; color: #000000; font-size: 15px; text-align: left;"> (doesn’t match pattern)</span> as additional operations. What is a actually quite common is to make a parameter that is invisible (or under a hidewhen under an advanced set of options) that you can use to hide and disable parameter and folder menus.

#### File save path stuff:

```c
`chs("basename")``ifs(strmatch(chs("wedge"),""), "", "_" + chs("wedge"))``ifs(ch("enableversion"), "_" + chs("versionstr"),"")``chs("framestr")``chs("filetype")`
```