[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: wrapdepth



Andrew,

I had no problem running your code under SQR6.0.  Are you positive this line
is causing the problem?  Is this being set in a local procedure?  What is
the value of #wrap_depth_1 after the call to wrapdepth?  Is it 0?  If that
is the case then the error probably occurs in your print statement where you
are wrapping and the reason it is 0 is (probably) either that your variable
is incorrectly named or else you are not calling the function in a local
procedure.

If none of this is the case then post a bit more of your code and list what
version you are running.

HTH
John

> -----Original Message-----
> From: Andrew Brook [SMTP:Andrew.Brook@HANCORP.CO.UK]
> Sent: Wednesday, October 25, 2000 10:51 AM
> To:   SQR-USERS@list.iex.net
> Subject:      wrapdepth
>
> I'm having problems using the wrapdepth function. I keep getting the
> following error
>
> (SQR 3405) The value for 'wrapdepth width' (0) must be > 0.
>
> The error occurs when I call the wrapdepth function
>
> LET #_wrap_depth_1 = wrapdepth ($_G_Phrase,23,1,'','')
>
> Any help would be much appreciated.
>
> Cheers,
>
> Andy