Re: Notepad problems
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16319
interpreted = N
texte = At 01:53 PM 2/27/98 -0800, you wrote:>But the fact is that *every* programming language has precise syntax tofollow, so it's very common for programs that throw unwanted
's intothe code to mess things up.>>Text editing programs that come free on the Mac, such as TeachText andSimpleText, don't mess up the WebDNA code like this ... but apparentlyNotePad and WordPad on the Windows platform do.>>Sincerely,>Ken GromeI'm not quite sure this is true. By default Notepad displays withoutsoftwrapping the text, in other words, long lines will require you toscroll horizontally to see all of the data. However, you can select themenu item Edit -> WordWrap, to softwrap the text. This allows you to seeall of your data without embedding any s in the code.I tried testing this by loading a .tpl file with extremely long lines intoNotepad. I then switched WordWrap on and off and edited the file. Then Isaved it and reopened it. No mysterious extra returns, it works fine forme. What will break your code is if you are hitting return at the end ofevery line, a common mistake people do when they don't have WordWrap on, toprevent the text from flowing horizontally.Whatever editor you are using, just turn on wordwrap and only hit thereturn (enter) key when you really want a in your code.DanDANIEL CAMERONcreative engineer dcameron@worldpoint.com------------------------------------------------- W O R L D P O I N T Voice.808.539.3932 Web.http://www.worldpoint.com ------------------------------------------------- imposition of order = escalation of chaos
Associated Messages, from the most recent to the oldest:
At 01:53 PM 2/27/98 -0800, you wrote:>But the fact is that *every* programming language has precise syntax tofollow, so it's very common for programs that throw unwanted 's intothe code to mess things up.>>Text editing programs that come free on the Mac, such as TeachText andSimpleText, don't mess up the WebDNA code like this ... but apparentlyNotePad and WordPad on the Windows platform do.>>Sincerely,>Ken GromeI'm not quite sure this is true. By default Notepad displays withoutsoftwrapping the text, in other words, long lines will require you toscroll horizontally to see all of the data. However, you can select themenu item Edit -> WordWrap, to softwrap the text. This allows you to seeall of your data without embedding any s in the code.I tried testing this by loading a .tpl file with extremely long lines intoNotepad. I then switched WordWrap on and off and edited the file. Then Isaved it and reopened it. No mysterious extra returns, it works fine forme. What will break your code is if you are hitting return at the end ofevery line, a common mistake people do when they don't have WordWrap on, toprevent the text from flowing horizontally.Whatever editor you are using, just turn on wordwrap and only hit thereturn (enter) key when you really want a in your code.DanDANIEL CAMERONcreative engineer dcameron@worldpoint.com------------------------------------------------- W O R L D P O I N T Voice.808.539.3932 Web.http://www.worldpoint.com ------------------------------------------------- imposition of order = escalation of chaos
Daniel Cameron
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Questions (1998)
Locking up with WebCatalog... (1997)
[NT] ie 4.0 required (1997)
select menus & database design (1998)
osx 10.3,webcat,permissions (2004)
WCS Newbie question (1997)
WebCatalog 4.0.1b1 is now available (2000)
Getting total number of items ordered (1997)
Generating Report Totals (1997)
WebCat2b15MacPlugin - [protect] (1997)
Two prices in shoppingcart? (1997)
Generating Searches on the fly? (1999)
problems with 2 tags (1997)
SSL and reg web* (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
WebCatalog can't find database (1997)
setting taxable to true (1997)
Help! WebCat2 bug (1997)
[isfile] ? (1997)
Friendly , quick 'security' check, please (2003)