Creating fixed field length records

Alex Tweedly alex at tweedly.net
Fri Oct 26 12:14:21 EDT 2007


Len Morgan wrote:
> While I'm at it, if I DO have to create a string of <record length> 
> first, how do I create a string of spaces <record length> long?
>
put format("%396s", " ") into myRecord

or

put format("%" & numSpaces & "s", " ") into myRecord




-- 

Alex Tweedly      mailto:alex at tweedly.net      www.tweedly.net




More information about the use-livecode mailing list