Subject: Getting a replacement for sprintf ?!
In-Reply-To: <8921F3F3-4116-4A56-B5CA-1BD0C703EED5@info-igor.org>
References: <ef94acf8-bc29-f666-0b19-efdd505f10d9@virtuell-zuhause.de>
<5000279B-995A-47FB-A9D6-8482F551D781@colostate.edu>
<8c3caeff-5660-c7bb-c5d1-384e01506874@virtuell-zuhause.de>
<549607c5-cda0-173f-98e8-c9df1b30e9e0@colostate.edu>
<8921F3F3-4116-4A56-B5CA-1BD0C703EED5@info-igor.org>
Message-ID: <4a0dce22-f7df-ea35-a24e-58c0058b655a@colostate.edu>
I stand behind my earlier statement. :) J
On Mon, 25 Feb 2019 12:41 PM, Scott Hannahs wrote:
> Will ?brilliant? may be an overstatement?. I think it may be a problem that optional parameters must be of a specified type and order. There isn?t an ability for the 2nd through nth parameters to be arbitrary mixed types of string and variable. But if they are all variables, and one just lets string variables be concatenated it might work.
>
> -Scott
>
>
>> On Feb 25, 2019, at 2:38 PM, DiVerdi,Joseph <Joseph.DiVerdi at ColoState.EDU> wrote:
>>
>> Thomas,
>>
>> Scott Hannahs made the (brilliant) suggestion earlier today of writing a _function_ to wrap the sprintf _operation_ to address the first item you raised below. (I wrote back to him directly and not to the whole list.) As soon as I get a free moment I'm going to do this and take it out for a test drive.
>>
>> Best regards,
>> Joseph
>>
>
> _______________________________________________
> Info-igor mailing list
> Info-igor at lists.info-igor.org
> http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org
>
--
Joseph A. DiVerdi, Ph.D., M.B.A.
Associate Professor of Chemistry
Colorado State University, Fort Collins, CO, USA
+1.970.980.5868 - http://sites.chem.colostate.edu/diverdi