VIEWABLEXPR(3) ABL FUNCTIONS VIEWABLEXPR(3)NAME
viewablexpr - displays an expression.
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 "abl101.h"
void viewablexpr( Expr, Mode )
chain_list *Expr;
int Mode;
PARAMETERS
Expr Expression to display.
Mode The notation type.
DESCRIPTION
viewablexpr displays Expr in the notation specified by Mode. The following notation types are available ABL_VIEW_INFIX, ABL_VIEW_PREFIX,
ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
RETURN VALUE
viewablexpr returns nothing.
EXAMPLE
#include "abl101.h"
chain_list *Expr;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
viewablexpr( Expr, ABL_VIEW_VHDL );
SEE ALSO abl(1), viewablexprstr(3), viewablexprfile(3).
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 VIEWABLEXPR(3)
Check Out this Related Man Page
VIEWABLEXPRSTR(3) ABL FUNCTIONS VIEWABLEXPRSTR(3)NAME
viewablexprstr - displays an expression in a str.
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 "abl101.h"
char *viewablexprstr( Expr, Mode )
chain_list *Expr;
int Mode;
PARAMETERS
Expr Expression to display.
Mode The notation type.
DESCRIPTION
viewablexprstr displays Expr in a string, with the notation specified by Mode. The following notation types are available ABL_VIEW_INFIX,
ABL_VIEW_PREFIX, ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
RETURN VALUE
viewablexprstr returns a pointer to the string where the expression has been displayed in. This string MUSTN'T be freed.
EXAMPLE
#include "abl101.h"
chain_list *Expr;
char *String;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
String = viewablexprstr( Expr, ABL_VIEW_VHDL );
printf( String );
SEE ALSO abl(1), viewablexprfile(3), viewablexpr(3).
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 VIEWABLEXPRSTR(3)
Hi all,
Please help me solve below issue.
expr 04170000000 + 1 gives me -124967295 and offcourse I want this to be 04170000001
and it happens for some sort of number like some other
02300000000
02600000000
03800000000
I guess after exceeding certain range it is converting it somewhere... (2 Replies)
Hello, I am new to the Bash scripting language, and was given a tutorial page on how to setup a file. However I am trying to use cygwin to run this file and it is not working.
$ vi averagetime.sh
#
#
#
echo "Enter Dictorinary File Text "
read dict
echo "Enter Grid Name"
read grid... (13 Replies)
Hello, I am new to Shell programing.
I want to add two numbers & show result. command I use are as under
Echo Enter the two numbers
read number
d1 = ` expr $ num%10`
num = `expr $ num/10`
d2 = ` expr $ num%10`
num = `expr $ num/10`
sum = $ d1 + $ d2
echo the sum is $ sum
I am getting... (1 Reply)