[Gambas-user] Question about Subst() syntax
Steven Lobbezoo
steven at ...1652...
Sat Mar 1 09:37:32 CET 2008
Hi,
I did once, but got into those kind of problems, so I stopped using it.
Just for very simple select statements, for the rest I construct
directly in my program.
I consider that anyway subst can only be used in simple situations.
Steven
Le samedi 01 mars 2008 à 02:35 +0100, Benoit Minisini a écrit :
> Hi,
>
> I plan to limit the Subst() instruction to nine substitutions, for
> optimization reasons. Does anyone use Subst with more than nine
> substitutions?
>
> I will do that for 3.0, and this will break 2.0 programs that use more than
> nine substitutions.
>
> The other proble is that the '&XX' syntax is ambiguous. &1 up to &9 is not,
> but &10 can mean the 10th subsitution, or the first substitution followed by
> a zero character. This was a stupid design.
>
> Maybe the future syntax will be &1 up to &9, and then &(10),&(11),&(12) and so
> on... Or maybe not, as I find that not really beautiful...
>
> Beware that the substitution syntax is used by the database methods Edit(),
> Exec(), Delete(), Find() too. So they are concerned by the syntax change.
>
> Please tell...
>
More information about the User
mailing list