About WindowShape
Geoff Canyon
gcanyon at inspiredlogic.com
Mon Jun 2 21:15:02 EDT 2003
On Monday, June 2, 2003, at 09:10 AM, Jan Schenkel wrote:
> Ah, and my FoxPro background shows again : I didn't
> mean replicate() as in cloning a control, but as in
> replicate("0",10) => "0000000000"
> which would come in handy for this sort of
> mass-production of the same character.
From LispLib:
function dupef pDelimiter,pTimes,pList -- returns pList repeated pTimes
with pDelimiter between
So:
dupef("",10,"0") => "0000000000"
dupef(", ",3,"wocka") => "wocka, wocka, wocka"
-- note lack of trailing comma/space
regards,
Geoff Canyon
gcanyon at inspiredlogic.com
More information about the use-livecode
mailing list