On Feb 20, 2006, at 6:44 PM, Aparajita Fishman wrote:
Is the %s formatting operator limited to string(255) when used in
conjunction with "execute in 4d"?
Neither the % operator nor "execute in 4d" are inherently limited
to 255 characters.
$vt_Content is about a 2000 character text field (typed). It is an
inline text file to be processed by PDF Plugin. Dumping locals
shows $cmd correctly formated.
Since it uses <> as parsing characters, I can only assume that it
is being truncated because the same $vt_Content works fine in a 4D
method.
I'm not sure what you mean by "it uses <> as parsing characters".
Sorry, was not very clear on that. It uses HTML like tags, but only
opening. Below is an example of the inline text. The macro area is
like css styles and the rest layout. That layout is flowed into a
defined box area. Really pretty neat stuff - precision layout . As
someone pointed out, I think Oliver, the 4D execute command is
limited to a single line of text. I think only "<macro{ " was
interpreted by 4d and the PDF Plugin parser balked at no closing ">"
tag. So I have write a few wrapper to take care of multi-line text.
<macro {
body {fontname=Times fontsize=10 encoding=host parindent=0
leftindent=0 alignment=justify leading=120% minlinecount=3
kerning=true}
shippingh {&header fontsize=12 leading=120% ruler={15 220 400}
tabalignment={left left left} hortabmethod=ruler}
shipping {&body fontsize=11 leading=120% ruler={15 220 400}
tabalignment={left left left} hortabmethod=ruler}
} ><&body>
<&header>AIDT Purchase Order PO# 26172
<&shippingh> Vendor # 6123 Ship To Attn: Bubba Foster Bill To
<&shipping> Apple Computer AIDT - Montgomery AIDT
<&shipping> 1 Infinite Loop 1 Technology Court 1 Technology Court
Steve Alex
AIDT
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/