• Welcome to TodayPlus Boards v2.
 

Weather left arrow

Started by Blazingwolf, January 11, 2004, 10:17:33 AM

Previous topic - Next topic

Blazingwolf

Sorry I missed typed those lines they should have been 12 by 12. Anyway I removed those lines as I didn't need them. I have started retyping the region and so far the buttons work the way they are suppossed to without the extra endif. Hopefully it will stay that way.
Toshiba E800 WM2003 SE
Ipaq 3955 WM2003, SD and CF,Pocket Informant
Dell Axim X5 PPC2002 SD and CF (Wife's)

joelw135

I rewrote the code and removed the endif, and it seems to be working. That is sort of a de-lima, since we now know code even when typed correctly mite not work. I know now that spacing also has something to do with the code also.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Scotty

Quote from: BlazingwolfSorry I missed typed those lines they should have been 12 by 12. Anyway I removed those lines as I didn't need them. I have started retyping the region and so far the buttons work the way they are suppossed to without the extra endif. Hopefully it will stay that way.

Quote from: joelw135I rewrote the code and removed the endif, and it seems to be working.

Glad it's working. I have no good explanation for why you needed the "extra" endif, and can only assume that there's some strange character in there somewhere (I even cut & pasted into Word, and turned on "show all characters" - but didn't see anything untoward).

All the best....................Scotty

Lordtwisted

Dam this turned into a big thread for a not so hard button. lmao. Remember you have to be careful when copying code.



Lordtwisted :D

joelw135

There seems to be a problem when you cut and paste, or have blank spaces in certain code. The code can look identical but yet won't work.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Lordtwisted

joelw135,

     Oh i know, i found that out the hard way, in the begining of todayplus.



Lordtwisted :D

joelw135

This is like erector set, take the pieces or modules and create almost anything you want in reason. But this little quirk makes it a bit harder.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

A TAB character after a command can cause problems as well.  This might happen if you delete enough text at the end of a command that causes a following blank line (which may have an imbedded TAB) to move up.  

On a PC you can using something like Word and force it to display formatting characters.  If editing on the PDA, use the keyboard's right arrow key to move to the end of the line.  If at the end of the command, pressing the arrow key causes the cursor to jump to the next line, then you should be OK, otherwise you may have additional whitespace characters (i.e. spaces, Tabs, etc.) which may need to be deleted.
Axim X5 Advanced, Windows Mobile 2003

joelw135

I normally use notepad to edit, much easier and faster loading than word.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

I use notepad as well (but also do alot of editing on my PDA), but Word is useful for periodically checking for formatting that might be causing problems.
Axim X5 Advanced, Windows Mobile 2003

Scotty

Quote from: fishboyI use notepad as well (but also do alot of editing on my PDA), but Word is useful for periodically checking for formatting that might be causing problems.

Same here. As noted above, I copied joelw135's text into Word precisely for that reason - to look for unexpected characters, as an explanation of why he & BW needed an extra endif - but didn't see anything.

Good to know that others (see LT post above) also found that copy / paste sometimes doesn't work. I wasted probably three hours, tearing my hair out, looking at 4 simple lines of code that I had copied / pasted, but didn't work. Then I typed them, and voila......

All the best..........................Scotty

swm1605

Hi- I have also experienced some problems with what appear to be spurious characters in a skin file. Now, as a matter of course, I always edit any skin file I work with using TextPad 4. Saving a file in this (PC based) editor strips all white space from the file. In addition I convert all tabs to just two spaces so that indentation is still visible but the file can easily be viewed with Pocket Word.

Closer to the topic, this has been a very valuable thread. I have learned a lot just following the discussion. Thank you to all participants!:)

Regards

swm1605
-= iPAQ 1940 Windows Mobile 2003,
iPAQ 3630 PC2002 with CF Expansion Sleeve, 128Mb CF Card,
Pocket Informant, PIToday =-