Archive of UserLand's first discussion group, started October 5, 1998.

Text handling in topics...

Author:Andreas Hellström
Posted:9/9/1999; 6:44:53 AM
Topic:Text handling in topics...
Msg #:10811
Prev/Next:10810 / 10812

My last post to this discussuin group was rather cryptic since the text was processed in some way. Two points/questions/suggestions:

(1) Carriage returns; when I convert input text to html text, I usually first convert all double returns (that is, cr + cr) to metatag for paragraph (P). Then I convert all single returns to (BR). This way, code examples like this will be shown correctly (and not all on one line):

newList=true listIndex=1 for (i=1 to 200) newList[listIndex] = { someValue1, someValue2 } listIndex++

(2) In the above code fragment, I init newList to an empty list, but the 'brackets' (indicating an empty list) will show up as 'true'. Any macro processing responsible for this, I beleive?!? Should a quote them to get this to work (like this {}; yes, it did work:-).

Andreas Hellström

This page was archived on 6/13/2001; 4:52:31 PM.

© Copyright 1998-2001 UserLand Software, Inc.