Escape for semicolon? Thread last updated on 2004-06-02 23:44:00

Posted by member 12025 on 2004-06-02 14:55:17

Hopefully simple: I need a value of an evar to be ";", but I cannot, for the life of me, find any way to do it.

Posted by member 99 on 2004-06-02 15:59:15 link

iirc, semicolons that are in quotes aren't treated as comments, but otherwise there is no escape.

Posted by member 12025 on 2004-06-02 17:15:44 link

Litestep :: !LabelLsBoxHook :: Error
Exception during command execution, blah blah
Bang Parameters: aPause "C:\LITEST~1\themes\new\theme.rc" 196902

Think maybe it's a xLabel error, then?
aPauseText ";"

Is all that offends it. Change it or comment the line and it loads blissfully. Same results having a separate evar.

Posted by member 12798 on 2004-06-02 17:34:19 link

how about using !skinboxexec and xlabel's !setevar, like
!skinboxexec !setevar bla "{@escapecodeforsemicolon}"
?

edit: oops, there's no {@escapecodeforsemicolon}... :/

Posted by member 12025 on 2004-06-02 18:24:10 link

Ah, no, but I could do !LabelRefresh, and a similar error occurs.
Well, off to LS-Universe w/ it :)

Posted by member 35 on 2004-06-02 20:24:07 link

webdings =P been trying to do it for months, i just decided to make my own font with the glyphs i use.

Posted by member 12798 on 2004-06-02 20:38:22 link

hey, what about xlabel's ability to read from text files? you could just get a semicolon form a file and export it to an evar, in a way just like Andymon has stated here:
http://www.ls-universe.info/forum_viewtopic.php?2.136

should work, shouldn't it? :)

Posted by member 12025 on 2004-06-02 21:35:00 link

The trouble is getting it into the label. Thanks to a "aha" after ElkMonster's post, the evar is working fine, but it gives an error trying to make the text of a label a semicolon, no matter what method I use.

Posted by member 99 on 2004-06-02 23:44:00 link

SkinBox' escape for semicolon is \s, though it sounds like that won't help.

As far as I can tell from the source to label-1.98, there should be no difficulty so long as you quote the semicolon in the bang command (although it wouldn't matter if called from lsxcommand), though I guess there's been a lot of change since 1.98. I can't imagine why label would put any special meaning on ; since it's hard to get it into a command.