Re: $sscanf first argument

From: Dave Miller <David.L.Miller@freescale.com>
Date: Tue Mar 15 2011 - 05:53:18 PDT

Seems fair to me. It should be able to support any string data type, variable,
parameter or literal. There would be no reason to limit it variables,
especially since the sscanf is not writing to the string (like $swrite for example)

Dave

On 03/15/2011 07:34 AM, Marq Kole wrote:
> Hi All,
>
> According to the LRM 2.3.1 the first argument of the $sscanf system function
> should be a string variable. Is there any particular reason why this cannot be
> a string parameter? I’ve just encountered the situation that I have to copy a
> string parameter to a string variable in order for this function to work. That
> seems to be a too strong restriction on this function. I just wanted to ask if
> I missed anything before making a Mantis item…
>
> Cheers,
>
> Marq
>
> *Marq Kole*
>
> Product Manager AMSRF Simulation
>
> NXP Semiconductors / Central R&D / Foundation Technology
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

-- 
==============================================
-- It's a beautiful day
-- Don't let it get away
--
-- David Miller
-- Design Technology (Austin)
-- Freescale Semiconductor
-- Ph : 512 996-7377 Fax: x7755
==============================================
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Mar 15 05:54:04 2011

This archive was generated by hypermail 2.1.8 : Tue Mar 15 2011 - 05:54:06 PDT