[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

unknown indentifier

I'm getting the error message "unknown identifier" on this line: if gender = 'M'

http://www.experts-exchange.com/jsp/qShow.jsp?ta=pascal&qid=10302613 
0
kazooie21
Asked:
kazooie21
  • 2
1 Solution
 
ColdfiresCommented:
Unknown Identifier means it is not declared.  If it is declared you have it in a procedure that cant reach declared variable.  Check where gender is declared
0
 
ColdfiresCommented:
Coldfires changed the proposed answer to a comment
0
 
dbruntonCommented:
somwhere in your code you need

var
  gender : char;

or

var
  gender : string;
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now