Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addbddvar(3) [debian man page]

ADDBDDVAR(3)							   BDD FUNCTIONS						      ADDBDDVAR(3)

NAME
addbddvar - adds a new variable in the bdd system. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "bdd101.h" bddnode *addbddvar( BddSystem, Variable ) bddsystem *BddSystem; bddvar Variable; PARAMETERS
BddSystem The bdd system. Variable The variable number. DESCRIPTION
addbddvar creates a new variable, with the number Variable, in the bdd system BddSystem. If a null pointer is given, the default bdd sys- tem is used. RETURN VALUE
addbddvar returns a pointer to the bdd node of the new variable. ERRORS
"no more variables, error !" There is no variable number left. "variable xxx out of range, error !" The Variable parameter must be less or equal to the BddSystem->NUMBER_VAR field. EXAMPLE
#include "bdd101.h" bddsystem *BddSystem; bddnode *BddNode; BddSystem = createbddsystem( 100, 1000, 100, 50000 ); BddNode = addbddvar( (bddsystem *)0, 0 ); destroybddsystem( (bddsystem *)0 ); SEE ALSO
bdd(1) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 ADDBDDVAR(3)

Check Out this Related Man Page

SWAPBDDVAR(3)							   BDD FUNCTIONS						     SWAPBDDVAR(3)

NAME
swapbddvar - swaps two contiguous variables. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "bdd101.h" void swapbddvar( BddSystem, Variable ) bddsystem *BddSystem; bddvar Variable; PARAMETERS
BddSystem The bdd system. Variable The variable to swap. DESCRIPTION
swapbddvar swaps the variable number Variable with the variable number Variable + 1, in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. This function is usefull for the bdd nodes reordering. RETURN VALUE
swapbddvar returns nothing. ERRORS
"variable xxx out of range, error !" The Variable and Variable + 1, must be valid variables number. EXAMPLE
#include "bdd101.h" bddsystem *BddSystem; bddnode *BddNode1; bddnode *BddNode2; BddSystem = createbddsystem( 100, 1000, 100, 50000 ); BddNode1 = addbddvar( (bddsystem *)0, 0 ); BddNode2 = addbddvar( (bddsystem *)0, 0 ); swapbddvar( (bddsystem *)0, 0 ); destroybddsystem( (bddsystem *)0 ); SEE ALSO
bdd(1) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 SWAPBDDVAR(3)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

Variable Testing for size

How do you test a variable size to know if it is empty or not? Thanks (4 Replies)
Discussion started by: jango
4 Replies

2. Shell Programming and Scripting

Variable Initialize

Hi, i m trying to loop a variable value, Basically i m reading variable value from an input file and using in rest of the program. Bu my problem is when i first time read value and assign to variable it works fine, but in second read it concatinate second value to first value with a LF. I want to... (2 Replies)
Discussion started by: coolbudy
2 Replies

3. UNIX for Dummies Questions & Answers

Variable names

Hi, I have a variable v_iteration which can equal any 3 digit number eg 001 or 926 I would like to dynamically make a new variable name up using this 3 digit number eg v_another_variable_001=fred v_another_variable_926=joe The following are examples of what I have tried ... (2 Replies)
Discussion started by: Bab00shka
2 Replies

4. Shell Programming and Scripting

Shell Variable - Please help

Hello all, How can i access the value of variable within a variable? Please go through the following code: count=0 newstr=aaaa${count} echo "enter value : " read $newstr <---- Suppose the value entered by the user is "home" echo $newstr <---- This will print "aaaa0"... (4 Replies)
Discussion started by: nisha5
4 Replies

5. Shell Programming and Scripting

checking a variable is within range

how can i check that a variable is between 0-100, like if i ask a user to input a number between 1-100 and i want to excute commands WHILE that number is between that range or else i will keep asking the user to make another input here's what i got #!/bin/bash echo "Guess my secret number... (2 Replies)
Discussion started by: Poison Ivy
2 Replies

6. Shell Programming and Scripting

Reading file and assigning that to Variable

I am missing something here, I have a file which contains only one line and that is either a number or character string. I am trying to read the file and assign that value to a variable and here it seems I am missing something and not getting the expected results... Here is the code : #!/bin/ksh... (2 Replies)
Discussion started by: Vaddadi
2 Replies

7. Shell Programming and Scripting

Variable has value or not

How do I check whether a variable has a value or not. When I am reading a value into a variable, I want to check whether the variable has value or not. How do I null check the variable. My Problem is I am reading an IP Address into a variable. When I press enter without entering any value,... (4 Replies)
Discussion started by: muniaraj
4 Replies

8. UNIX for Dummies Questions & Answers

New Variable with Existing variable( Urgent)

hi all, i want use the variable value as a new variable name. print output of new variable. for i in COMPUTER1 COMPUTER2 do flag_name=${i}_FLAG eval ${flag_name}=123 echo $i'_FLAG' done output is COMPUTER1_FLAG COMPUTER2_FLAG i need output as 123 123 (2 Replies)
Discussion started by: arvindng
2 Replies

9. Linux

How to get an Indirect Variable Value..?

Hi, I've got a small problem. If varible A stores "B" and Variable B stores C, How to get the value of variable B by using only Variable A..? I tried the following but didnt work pease help.. $ var1=vikram $ echo $var1 vikram $ vikram=sampath $ echo $vikram sampath $ echo... (6 Replies)
Discussion started by: vickramshetty
6 Replies

10. UNIX for Dummies Questions & Answers

Output into a Variable

i was wondering is there anyway to take the output of a command and put it into a variable?? what i need to to is only take a certain part of the output that lies between <"data needed "> ---------- Post updated at 09:39 PM ---------- Previous update was at 09:38 PM ---------- and place... (6 Replies)
Discussion started by: jmorey
6 Replies

11. UNIX for Dummies Questions & Answers

Variable is not substituting values

Hi All, OS HPUX 11.11 I am using following script to take controlfile backup. I have used SID variable to hold "ffin1" value, which I again subsitute in "'/db/ffin1/home/oraffin1/$SID_$wdate.ctl'" command. Well, after running this, SID variable does not subsittue it's value, while wdate... (6 Replies)
Discussion started by: alok.behria
6 Replies

12. Shell Programming and Scripting

Variable increment (of some sort)

i have a variable that has more than one value. i am declaring another variable, which will have the old variable data one by one. i want to use the second variable to hold the track of all the variable it has parsed from the first one. can somebody help me how do i declare and use the second... (7 Replies)
Discussion started by: gopajitmalakar
7 Replies

13. Shell Programming and Scripting

Match exact Variable in Awk

I want to match exact string stored in Variable INO and print next two lines. I have written below code which partially matches: awk '/\'$VAR'/{getline; getline; print}' Will be thankful , if somebody can help in to resolve this problem. Please view this code tag video for how to use... (9 Replies)
Discussion started by: nitj
9 Replies

14. Shell Programming and Scripting

Export Variable throws message

Friends, I'm trying to export a variable as follows. But getting error message "not a valid identifier". However the variable has exact value. # INSTSALL_PATH=/opt/tmp/Ora10.9/default # ORAHOME=/apps/opt/Oracle # export ${ORAHOME}=${INSTSALL_PATH} -bash: export:... (3 Replies)
Discussion started by: baluchen
3 Replies

15. Shell Programming and Scripting

Assign Here Document Facility to a Variable

Hello All, I was wondering how I can assign a here document facility to a variable. I have tried the following: menu=$(<<MENU Option1 Option2 Option3 Option4 MENU ) ...but when I echo the $menu variable, the multiline list comes out in a single line such as: Option1 Option2 Option3... (14 Replies)
Discussion started by: techieg
14 Replies