Re: APDF V 1.09

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
There are two typos in APDFInit():
Lines #289 ...:

if $i=UBound($PageName) then
	MsgBox(0,"APDF Error", "Unknown page format: " & $format)
exit

must be following:

if $i=UBound($PageName) then
	MsgBox(0,"APDF Error", "Unknown page format: " & $pf)
exit

and lines #294...:

else
  $pfs = StringSplit($format,",")

must be following:

else
  $pfs = StringSplit($pf,",")

Variables $fw and $fh should be initialized below in the same func:

Global $fw = $fwPt/$k
Global $fh = $fhPt/$k

As for $bMargin. You must update following line:

; page break event
Global $PageBreakTrigger

to 

; page break event
Global $PageBreakTrigger, $bMargin

Valery

--- In [email protected], louvetpatrick <no_reply@...> wrote:
>
> The four vars following 
>  $format ,$fw ,$fh,$bMargin
> aren't declared in APDF.inc and generate a problem when compiling 
with
> scite 
> Is it necessary to declared then with a special value oo not ?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.