Word 1 to -1 Truncating Entire Paragraphs?

Dan Shafer revdan at danshafer.com
Fri Nov 11 15:03:50 EST 2005


There may be a clue in the fact that it chops at the first comma.  
Perhaps that's set as a delimiter somewhere?

Dan

On Nov 11, 2005, at 11:57 AM, Sivakatirswami wrote:

> I am using a routine discuss on this list sometime back to kill  
> vertical white space (extra cr's)  at the beginning and end of a  
> large text chunk..
>
> put word 1 to -1 of fld "transcript" into tFinalTranscript
>
> But this is suddenly chopping off whole paragraphs and chars at the  
> end of the file.
> e.g. the following which represents the end of a file.
>
> Le petite insect ki tappe dans la nuit. C'est une "cricket" en  
> Creole.  La langue creole est tres jolie. So vocabulaire est tres  
> pauvre, donc, il faut decrire toute les choses avec beaucoup des  
> les petites mots tres jolie. Est Creole a le meme syntax que  
> Anglais, pas comme le haute francaise de Paris!
>
> plus de text ici
>
> plus de text ici
>
> ends up like this in the final output
>
>
> <p>Le petite insect ki tappe dans la nuit. C'est une "cricket" en  
> Creole.  La langue creole est tres jolie. So vocabulaire est tres  
> pauvre,</p>
>
> # the rest is missing.
>
>
> I have test this by simply commenting out this line:
>
>    -- put word 1 to -1 of fld "transcript" into tFinalTranscript
>         put fld "transcript" into tFinalTranscript
>
> and the entire transcript is delivered to the variable.. it's that  
> " word 1 to -1" which is chopping of entire blocks of text...
>
> This seems like a bug to me... or am I missing something?
>
> Sivakatirswami
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list