Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.8K Views
|
9 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

What is wrong with these statements?

Posted 7 years ago

What is wrong with the following statement? A="sedf" B="eret" shift-enter which asked for echo each statement. Perfect. But as I typed again A B The A is not assigned? But B is assigned Why? See the attached screen.

Attachment

Attachments:
POSTED BY: AI Algorithm
9 Replies
Posted 7 years ago

Thank you for your attention of my problem. I am using 11.2

I did not notice the notebook I posted did not evaluate A

This time I start the MATHEMATICA from the start manual it works. But there is a line below (assuming....) I do not understand what does that mean? enter image description here

Previously I clicked a xxx.m file to start the MATHEMATICA. Why? What is the difference?

POSTED BY: AI Algorithm
Posted 7 years ago

The problem turns out to to be related to how did I entered those two command. If I entered by hand, no problem. If I loaded them from a .m file (clicking the .m file to start MATHEMATICA) there is a problem. Could anyone explain the problem?

POSTED BY: AI Algorithm

Possibly a silly question, but did you evaluate your input cell 11 (the one containing just A)?

POSTED BY: Ian Williams

I've just tried your example in a V11.3 notebook and it works as I'd expect - see below and attached. enter image description here

Not sure why your notebook is behaving as you've described. Can you attach it?

All the best,

Ian

Attachments:
POSTED BY: Ian Williams
POSTED BY: Gustavo Delfino
Posted 7 years ago
POSTED BY: AI Algorithm

I do not know.

enter image description here

POSTED BY: Jürgen Kanz
Posted 7 years ago

I can surely do the alternative. But that does not answer my question. Can you do it as I did, (i.e. two assignment together) so that you are discussing my problem. Thanks.

POSTED BY: AI Algorithm
POSTED BY: Jürgen Kanz
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard