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
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to