Scripting

swb get_all_assignments (Tcl Script API Function)



The swb get_all_assignments function has the following format:

Syntax swb get_all_assignments <source> <destination>
Arguments

<source>

If required, the first statement in a range of statements that contain the assignment. If there is no range, or you want a list of assignments for all statements, use empty double quotation marks ("").

<destination>

The statement containing the assignment, or, for a range of statements, the last statement in the range. If you want a list of assignments for all statements, use empty double quotation marks ("").

Return Value

Code Name Code String Return
TCL_OK 0 <results>
TCL_ERROR 1 project has no active software build setting
TCL_ERROR 1 no project is currently open
TCL_ERROR 1 wrong # args: should be "get_all_assignments source destination"
Description Returns a list of all the assignments and values for the specified statement(s) in the project's current Software Build Settings File (.fsf).


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.