Anthrazit

860 Reputation

11 Badges

5 years, 147 days

MaplePrimes Activity


These are replies submitted by Anthrazit

I'm sorry, I was a bit quick here. I've done some more tests, and I'm still struggling to make use of the variables in both 1D and 2D notation.

Here's an example where I once define a variable in 2D and try to access it both in 2D and 1D notation. And afterwards the other way around, where I do define the variable first in 1D, and try to use it in 2D afterwards. The problem in the second part is that I can't use the greek alpha.


 

`f__α` := 1

1

(1)

`f__α`

1

(2)

f__alpha

f__alpha

(3)

f[alpha]

f[alpha]

(4)

f__alpha

f__alpha

(5)

  f[alpha]

f[alpha]

(6)

assign(g__alpha = 2)

`g__α`

`g__α`

(7)

g__alpha

2

(8)

g[alpha]

g[alpha]

(9)

``


 

Download 1D2D.mw

 

First of all, thanks for the answer.

When running your program I got an error message first. Found out that you had a typo in your first line (opaquemodulues, should be "opaquemodules".

There are a couple of questions in my head, and part of it is that I am not using the exact library as in the example. But I will keep using this example as long as it serves the purpose of understanding.

My next question is - when loading the module with "with(AISCShapes)" the result I am getting is [Property].

Where did you find out that there is a "AISCTable" - or is this a reserved keyword?

In the example there is just the "Property" keyword used as far as I can see.

Cw := Property("W10X54", "Cw");
Property("W10X54", "Cw", "metadata");

 

First 16 17 18 Page 18 of 18