Support and General Use > Theming and Appearance Customization

Bug in WPS parser

(1/1)

ray:
Basically, the following code:

(edit... had to attach code as an image, because i can't input WPS code into the "code" tag...

should output the following when you have the Sleep Timer enabled:


--- Code: ---               Power Off in 15:00                                  

ray:
i found a workaround, which is cleaner and more efficient:

--- Code: ---%?bs;%pc/%pt %ar%pp of %pe%t6
--- End code ---

the first post is still a bug... albeit sloppy coding on my part, but still a bug!

NicolasP:
Your conditional is implicitly closed by the subline separator. You can't have conditionals spreading across lines or sublines.

ray:
thanks nicolas for pointing that out!
so it was just sloppy coding on my part! ;)

Navigation

[0] Message Index

Go to full version