Keyword is a string, need help

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Ludwig
Posts: 3
Joined: Fri Aug 22, 2003 2:36 pm

Keyword is a string, need help

Post by Ludwig »

Hi, I've got a keyword "2a" (the quotes are PART of the keyword) and I'd like that to be highlighted differently than my strings. It is a special string. Unfortunately, as you might imagine, quotes are my String start and enders. Any ideas? THANKS!
User avatar
webmasta
Posts: 168
Joined: Mon Jul 28, 2003 8:16 pm
Location: Toronto

Post by webmasta »

IF you can use '2a' (single quotes instead of double) it will be treated as characters, not as strings, and you can specify a color for that..
Ludwig
Posts: 3
Joined: Fri Aug 22, 2003 2:36 pm

Post by Ludwig »

That won't work. I NEED to use "2a" (double quotes) in my file. It must be entered as a string. In the mean time, I've set it to ignore strings since I actually don't use them too often, and made "2a" a keyword.
Ludwig
Posts: 3
Joined: Fri Aug 22, 2003 2:36 pm

Post by Ludwig »

That won't work. I NEED to use "2a" (double quotes) in my file. It must be entered as a string. In the mean time, I've set it to ignore strings since I actually don't use them too often, and made "2a" a keyword.
Post Reply