Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4272 > unrolled thread
| Started by | Charles Wells <Charles@ABSTRACTMATH.ORG> |
|---|---|
| First post | 2011-08-10 10:51 +0000 |
| Last post | 2011-08-10 10:51 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Notebook works, CDF file doesn't Charles Wells <Charles@ABSTRACTMATH.ORG> - 2011-08-10 10:51 +0000
| From | Charles Wells <Charles@ABSTRACTMATH.ORG> |
|---|---|
| Date | 2011-08-10 10:51 +0000 |
| Subject | Re: Notebook works, CDF file doesn't |
| Message-ID | <j1tnrd$pod$1@smc.vnet.net> |
I discovered the problem. In the original file I redefined Cone, which is a built in function. SaveDefinitions won't save redefinitions of symbols that are ReadProtected, as Cone is. (I don't know whether all built in functions are ReadProtected or not.) I changed it to ccone and now it works. Currently the nb and cdf files called CompositeDiagram work correctly. The incorrect ones formerly called that are now called BadCompositeDiagram. Note that BadCompositeDiagram.nb works correctly even though SaveDefinition is used in the definition of the manipulate object. It is only the CDF file that doesn't work. Don't name your new symbols with a capital letter. It says so in several places in the help files. In fact it probably makes no difference if they aren't built-in functions, and there are a couple of other definitions in the files I uploaded that use capital letters with no problems.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web