---
name: "clig_Long"
section: "7"
platform: "linux"
package: "clig"
version: "1.9.11.1-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/clig_Long"
---

# clig\_Long(7)

declare an option with parameters of type long

## NAME

::clig::Long - declare an option with parameters of type long

## SYNOPSIS

```
package require clig
namespace import ::clig::*
setSpec db
```

**Long -***opt varname usage* \[**-c** *min max*\] {\[**-d** *default ...*\] \| \[**-m**\]} \[**-r** *rmin rmax*\]

## DESCRIPTION

The **Long** command works exactly as the  **Int** command except that the generated C parser works with values of type **long** instead of **int**. For the Tcl parser it does not make a difference.

## SEE ALSO

[clig\_Name(7)](/clig_Name/7.md), [clig\_Double(7)](/clig_Double/7.md), [clig(1)](/clig/1.md), [clig\_Usage(7)](/clig_Usage/7.md), [clig\_Version(7)](/clig_Version/7.md), [clig\_Float(7)](/clig_Float/7.md), [clig\_Rest(7)](/clig_Rest/7.md), [clig\_Description(7)](/clig_Description/7.md), [clig\_String(7)](/clig_String/7.md), [clig\_Flag(7)](/clig_Flag/7.md), [clig\_Commandline(7)](/clig_Commandline/7.md), [clig\_parseCmdline(7)](/clig_parseCmdline/7.md), [clig\_Int(7)](/clig_Int/7.md)
