The Role Advisor

Variables have in programs some typical uses that are called roles of variables. For example, a variable whose value is never changed after initialization has the role of fixed value. Understanding roles helps in programming tasks and improves learning.

This page provides the services of an automatic Role Advisor. Enter your Pascal program in the text field below and the advisor will tell you the roles of all variables or a single variable only!


Give me the roles of:    All variables       Only

Instructions

Links



Copyright © 2006 by Jorma Sajaniemi and Petri Gerdt.
Last updated: February 10, 2006