Creating fixed field length records

Stephen Barncard stephenREVOLUTION2 at barncard.com
Fri Oct 26 11:29:57 EDT 2007


this should work (not tested)


put multiChar(space,396) into tPaddedLine


function multiChar pChar,pRecordLength
repeat with n = 1 to pRecordLength
    put pChar after tOut
end repeat
return tOut
end multiChar



>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?
>Thanks again,
>len morgan

-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -





More information about the use-livecode mailing list