Home | Notes | Languages | Programs | Homework |
Re: Storing expressions |
Brian Melanson (bmelanso@VT.EDU)
Thu, 20 Sep 2001 22:05:54 -0400
Message-ID: <NDBBLOIIEMCGNOBOICJBIELCDKAA.bmelanso@vt.edu> Date: Thu, 20 Sep 2001 22:05:54 -0400 From: Brian Melanson <bmelanso@VT.EDU> Subject: Re: Storing expressions
Look in the reference manual for the "string" type
-----Original Message-----
From: discussion list [mailto:CS3304_91312@listserv.vt.edu]On Behalf Of
David Tuell
Sent: Thursday, September 20, 2001 4:58 PM
To: CS3304_91312@LISTSERV.VT.EDU
Subject: [CS3304_91312] Storing expressions
Ok, since we have to check for errors in our expressions before we output
any of the instructions, what is an acceptable way of storing them? The
spec says they are of "arbitrary length", so how do we go about this using a
static array? I don't see a way of dynamically allocating space in Pascal,
anyone know if Prof. Edwards said anything about storing the expressions in
class and I just didn't catch it? Any help would be appreciated.
David
Home | Notes | Languages | Programs | Homework |