From: Petr M. <mi...@ph...> - 2004-07-13 08:28:05
|
> > set label 1 sprintf( "After fitting, A = %3.2f, B = %3.2f", A, B) > > That one, mostly. Generally, the "A = $A" syntax may seem simple, but > it's also of rather limited flexibility. > > This function-like syntax also extends more naturally to other operations > on strings (scanning a string, reading a string from an external file, > ...). I think we can take a hint from Java, here: Strings are native > datatypes, but the only operator they support is '+' for concatenation. > Everything else is done by functions. I would also prefer this way of sprintf and '+' operator for strings. --- PM |