| Search Site |
| Search Rules |
| Account |
| not registered? |
| can't login? |
| user preferences |
|
|||||||||||||||||||||||
|
Next: Config Up: Variables Previous: Variable Modifiers Contents LimitationsWhen embedding variables, types can not be mixed. For instance, port variables can be defined in terms of other port variables, but old-style variables (with the 'var' keyword) can not be embedded inside a 'portvar'. Valid embedded variable:
portvar pvar1 80
portvar pvar2 [$pvar1,90]
Invalid embedded variable:
var pvar1 80
portvar pvar2 [$pvar,90]
Likewise, variables can not be redefined if they were previously defined as a different type. They should be renamed instead: Invalid redefinition:
var pvar 80
portvar pvar 90
Steven Sturges 2008-04-01 |
|||||||||||||||||||||||
|
|||||||||||||||||||||||