610 Reputation

11 Badges

3 years, 192 days

MaplePrimes Activity

These are replies submitted by Anthrazit

Deinstallation and reinstalling network tools fixed the problem.


Thanks a lot.

I've filed request to Maple support, we'll se what they come up with.

I've had something similar, but just in MathContainers.


I'd assume that as well.

Just to clarify - I am not talking about the Maple installation itself - just the networktools which are installed on the server.

Need to come back to a question posted a long time ago.

Here's a simple code directly from the Help manual for the HasChild function.

I do understand that the first one gives "false", as "c" is not a direct child.

But what about XMLElement "a"? Shouldn't that one give "true"?

And this is also interesting...


DBG> Units:-Split(force["F_hd"])

DBG> Units:-Split(eval(force["F_hd"]))


Btw., I have tried to convert the expression to string, and parse the result afterwards, but that does not fix the problem.

Any idea what could be wrong here?

This is a copy of the Maple Debugger. I think it is connected to the issue mentioned above, and kicks in when reading values from the datatable right after opening the file.


DBG> convert(loadVector_centerBoltgroup[3], 'units', 'kN*m')
`%1` is not a recognized unit",
proc () option builtin = debuggerMemberLookup; end proc(Units:-Simple,"*")(kN,m)

DBG> op(2, loadVector_centerBoltgroup[3])

DBG> loadVector_centerBoltgroup[3]


After changing the input data when values are read in from the document, things work without any problem.

DBG> next
   4   loadVector_centerBoltgroup[3] := convert(loadVector_centerBoltgroup[3],

DBG> next
   5   return loadVector_centerBoltgroup


And this looks also strange:

DBG> Units:-Split(loadVector_centerBoltgroup[3])

Here's an additional example that gets me very confused.

The example above indicates (for me at least) that eval should be used to get the actual table and not the pointer to it (or whatsoever).

In the attached example it looks to be the other way around. Why is the result of the direct assignment a table, and the evaluated result indexed?


What I was trying to solve the problem you are mentioning is to use the eval~ statement in the StoreSettings procedure.

The reason why I do not want to do the evaluation before storing is that I still want to use to use the table behaviour during the session.

I've just checked and as far as I can see Maple doesn't do any autosave on libraries I am working on anymore.

Last Autosave of a library was done in june 2022, might be 2022.1 then.

Other Maple workbooks do however autosave backups.


I've filed a new support request on this one, seems the fix above apparently doesn't work.

Case # 00123983

First of all, thanks for the clarifications again. This issue is coming up again and again...

By the way, I didn't know about the "type" command, nice to know that I can use it to check variable types as well.

One of the practical consequences is when using loops in tables. Unfortunately there is no example in the help file when using tables.

Apparently there are 2 different methods when using loops over table contents, as shown below. One by using entries, the other one using eval. A loop over the table itself is not working.

a := table()

table( [ ] )


a["alfa"] := "hello"



a["beta"] := "nice"






for i in a do i end do



for i in entries(a, nolist) do i end do



for j in eval(a) do j end do







The fix is not working in all conditions...

Thanks for the quick reply.

Looks like a lot there is a bit of work for the editors of Maple Help, as all of the examples there are without the uneval quotes.





[`*`, `+`, `-`, `/`, `<`, `<=`, `<>`, `=`, Im, Re, `^`, abs, add, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, argument, ceil, collect, combine, conjugate, cos, cosh, cot, coth, csc, csch, csgn, diff, eval, evalc, evalr, exp, expand, factor, floor, frac, int, ln, log, log10, log2, max, min, mul, normal, polar, root, round, sec, sech, seq, shake, signum, simplify, sin, sinh, sqrt, surd, tan, tanh, trunc, type, verify]


Fmt := (fmt,ee) -> subsindets(ee,`&*`(float,specfunc(Units:-Unit)),


Fmt("#.0000", 12.3456789*Unit(m));



Fmt("#.00", 12.300000000*Unit(m));



Fmt("#.0000", HFloat(12.300000000)*Unit(m));






1 2 3 4 5 6 7 Last Page 1 of 15