NewVariable Text Command

NEWVARIABLE Text Commands

Creates a new user variable.

newvariable [DOCUMENT name | WINDOW name | CHAPTER name]

name/s The name of the new variable.

value/s The variable string.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

CHAPTER/s The document/chapter name.

Default=current.

Examples:

newvariable author "Bill Watson"

 

NewVariable  Command Definition  url:PGScmd/newvariable
  created:2006-03-30 17:19:29   last updated:2006-03-30 17:19:29
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For NewVariable
Dan Kilroy wrote...2006-05-04 16:50:56

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

NewVariable (varname varvalue [DOCUMENT document | CHAPTER document:... | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:
DeleteVariable, GetVariables, GetVariableValue, InsertName, NewVariable, SetVariableName, SetVariableValue


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For NewVariable