Pascal expression

20 pts.
Tags:
Pascal
Pascal Programming
In his book "Compiler Building Tutorial", Crenshaw shows a Pascal expression: GetBoolean := UpCase(Look) = "T" on page 63. How do I interpret this?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    You should interpret it by noticing the difference between the ":=" assignment operator and the "=" equals operator. The assignment operator says that a value is being assigned to a variable. The variable is always on the left side, i.e., [ GetBoolean ], and the value is on the right side, i.e., [ UpCase(Look) = "T" ]. . The direct implication is that [ UpCase(Look) = "T" ] is an expression that returns a value of some kind. If you know what kind of variable [ GetBoolean ] is, you be able to figure what kind of value is being created. . From there, you should be able to see how it is created. . Tom
    125,585 pointsBadges:
    report
  • Logman
    Thanks Tom
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following