[Gambas-user] Auto-spacing Strings would be nice. (like with Print s1; ; s2)

Benoît Minisini g4mba5 at gmail.com
Thu Feb 10 14:39:35 CET 2022


Le 10/02/2022 à 14:34, Bruce Steers a écrit :
> 
> You know how
> Print  "String 1"; "String 2"
> Prints
> String 1String2
> and
> Print  "String 1";; "String 2"
> Prints
> String 1 String 2
> ...
> 
> Something like...
> sStr = "String 1" && "String 2"
> to auto-insert a space (if required) would be awesome.
> 
> and maybe even...
> sStr = "String 1" &n "String2"
> or
> sStr = "String 1" &\ "String2"
> for inserting LF ?
> 
> Just saying n all:)
> Or do things like that just slow the interpreter down?
> 
> Wising well
> BruceS
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

I'm usually against introducing a new syntax that will just save a few 
lines of code and be used rarely. I'd like the interpreter to be as 
small as possible.

Regards,

-- 
Benoît Minisini


More information about the User mailing list