Thread: Is this a bug?
View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 20th, 2014, 09:32 AM
Quote:
Originally Posted by PhilAdams View Post
foreach pick in hero where "thingid.skIZKnow"
if (compare(lowercase(eachpick.field[domDomain].text), “program”) = 0) then
validif (eachpick.field[trtFinal].value >= 4)
endif
nexteach
If this text is "exact" then your issue is the quotes. They are not standard ASCII quotes. They look like what Word does with its non-standard ASCII quotes and HL can't deal with it.

You need quotes like " not like “.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #3 Reply With Quote