Index: [thread] [date] [subject] [author]
  From: Philip K. Warren <pkw@acpub.duke.edu>
  To  : 
  Date: Sun, 31 Jan 1999 03:14:20 -0500

Question...

I finallly tracked down a pesky segfault but now I'm having some
questions with the assignment of variables.  Anyone else out there got
this fully working?

Ok - I can assign and reassign variables without problems.  However I
run into trouble when our variables recalculate themselves behind the
scenes.  For instance, the assignment reads:
> a = 2 ^ 4;
16
> b = 16;
16
> c = a-b;
0
> b = 2*16;
32
> c  // here's where mine isn't working
-16

My variable c continues to output 0 until it is reassigned.  I'm using a
map of strings->(pointers to Expressions) to represent my variables. 
Thanks for any help you can give.

-- Philip


Index: [thread] [date] [subject] [author]