[ibis-macro] Re: question about string parameter in AMI

  • From: <radek_biernacki@xxxxxxxxxxx>
  • To: <ibis-macro@xxxxxxxxxxxxx>
  • Date: Wed, 17 Mar 2010 17:57:00 -0600

Mike,

Not that I do not like your response, but please explain how your
interpretation can be reconciled with the following excerpt from the
specification (page 187).

| 8. Parameter values can be expressed either as a string literal,
decimal
| number or in the standard ANCI 'C' notation for floating point numbers
| (e.g., 2.0e-9). String literal values are delimited using a double
| quote (") and no double quotes are allowed inside the string literals.

Radek

-----Original Message-----
From: ibis-macro-bounce@xxxxxxxxxxxxx
[mailto:ibis-macro-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Steinberger
Sent: Wednesday, March 17, 2010 6:36 AM
To: RAO,FANGYI (A-USA,ex1)
Cc: ibis-macro@xxxxxxxxxxxxx
Subject: [ibis-macro] Re: question about string parameter in AMI

Fangyi-

It looks like this one's been sitting out there for a day or so, so I'll

offer an answer.

The answer depends partially on whether or not "param_value" contains 
white space. If it does not, then either form should work equally well 
in the parameter string, and the parser in the model should support 
either form without complaint since both forms are fully compliant with 
the published syntax. The parser we published in 2007 does, so I don't 
see any excuse for failing to provide this functionality.

If "param_value" is actually "param value", then (param_name "param 
value") will work, but (param_name param value) will be mistakenly 
interpreted as an array of strings.

Mike S.

fangyi_rao@xxxxxxxxxxx wrote:
>
> Hi, Experts;
>
> Shall the double quote of the value of a string parameter be included 
> in the input parameter string of the Init call? For example, if an AMI

> model has a string parameter with name "param_name" and value 
> "param_value", should the input parameter string be
>
> (param_name "param_value")
>
> or
>
> (param_name param_value)
>
> Thanks in advance,
>
> Fangyi
>

---------------------------------------------------------------------
IBIS Macro website  :  http://www.eda.org/pub/ibis/macromodel_wip/
IBIS Macro reflector:  //www.freelists.org/list/ibis-macro
To unsubscribe send an email:
  To: ibis-macro-request@xxxxxxxxxxxxx
  Subject: unsubscribe

---------------------------------------------------------------------
IBIS Macro website  :  http://www.eda.org/pub/ibis/macromodel_wip/
IBIS Macro reflector:  //www.freelists.org/list/ibis-macro
To unsubscribe send an email:
  To: ibis-macro-request@xxxxxxxxxxxxx
  Subject: unsubscribe

Other related posts: