[PD-dev] [ pure-data-Patches-1862178 ] make makefilename accept floats in %s

SourceForge.net noreply at sourceforge.net
Wed Jan 2 14:40:41 CET 2008


Patches item #1862178, was opened at 2008-01-02 14:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1862178&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 1
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: make makefilename accept floats in %s

Initial Comment:
while fiddling with the bug-fix for the missing "%c" in [makefilename] (see #1862168), i found that 
[makefilename %s] will safely ignore any number that it receives.

in theory this is nice and consistent behaviour.

in practice i find it weird that
[32(
|
[makefilename %s]

outputs nothing(!).

and 

[32(
|
[makefilename _%s+]

outputs "_+"

the attached patch uses "%g" to convert a number into a string which is then inserted as %s.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1862178&group_id=55736




More information about the Pd-dev mailing list