As noted here: viewtopic.php?f=3&t=20517
A fix for the trailing semi-colons on several functions years ago missed this one.
BUG: PROP input type writes trailing semi-colon.
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice, MapTool BugReport Manager
Forum rules
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
BUG: PROP input type writes trailing semi-colon.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: BUG: PROP input type writes trailing semi-colon.
I think it was requested at one point to add the ; at the end of a strprop list and it was done to some of the functions. Personally, I prefer no ; at the end so you can then use the list functions on a strprop.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: BUG: PROP input type writes trailing semi-colon.
Per the link above, AZ fixed most of the instances where the trailing ; was being added.
But the PROP input type was, apparently, missed... which is not surprising since I suspect it's a rarely used type.
The workaround is to use the substring method mentioned in the linked thread above... but it would be better if the PROP input type was just fixed to function consistently with all other functions manipulating StrProps.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."