|
|
last edited 10 years ago by test1 |
1 2 3 | ||
Editor: gdr
Time: 2008/03/31 00:12:51 GMT-7 |
||
Note: |
added:
From gdr Mon Mar 31 00:12:51 -0700 2008
From: gdr
Date: Mon, 31 Mar 2008 00:12:51 -0700
Subject:
Message-ID: <20080331001251-0700@axiom-wiki.newsynthesis.org>
Category: Axiom Compiler => Axiom Interpreter
It is sometimes useful to define x as a Symbol
x:Symbol
integrate(x)
![]() | (1) |
1 x
![]() | (2) |
But some things can be done with Variables but cannot be done with Symbols
y
![]() | (3) |
y == 1
y
Compiling body of rule y to compute value of type PositiveInteger
![]() | (4) |
x := 1
Cannot convert right-hand side of assignment 1
to an object of the type Symbol of the left-hand side.
And this causes an error
x == 1
x
Internal Error Interpreter code generation failed for expression1