repeating string

Bob Sneidar bobsneidar at iotecdigital.com
Wed Feb 12 21:59:08 EST 2014


Something like, put “burger” into the mouth of me with “force”? Or maybe, set the mouth of “bob” to “full” with “burger”? Hmmm… I’m guessing I’m hungry. BRB!

Bob


On Feb 11, 2014, at 09:51 , Mike Kerner <MikeKerner at roadrunner.com> wrote:

> I guess I'm more of a fan of having multiple ways of saying something,
> because then each person can use whatever feels most natural and intuitive
> to them instead of being forced.
> 
> 
> On Tue, Feb 11, 2014 at 12:40 PM, J. Landman Gay
> <jacque at hyperactivesw.com>wrote:
> 
>> On 2/10/14, 6:15 PM, Alex Tweedly wrote:
>> 
>> I don't see any need to invent a new verb "pad"; why not simply
>>> something like
>>> 
>>> put <value> [for N times] <chunk description>
>>> or
>>> put [N copies of] <value> <chunk description>
>>> 
>>> Thus
>>>    put "hello" into myVar
>>>    put "xyz" for 2 times after char 3 of myVar    --> helxyzxyzlo
>>> or perhaps
>>>    put 2 copies of "xyz" after char 3 of myVar
>>> 
>>> Or indeed
>>>    put "abc" & 4 copies of " " & "def" into newVar
>>> to give a value of "abc    def"
>>> 
>> 
>> I could go with the first one, but if we're to avoid inventing new syntax
>> then I'd drop the version that uses "copies". But the first variation would
>> work and I like the idea of building off existing terminology.
>> 
>> 
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list