cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

defining earlier

kenan2
13-Aquamarine

defining earlier

Hi. 

Can a solve problems in one dokument without the defining earlier will effect my new problems I gonna solve?

 

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:kenan2)

Yes you can, but you should be sure to (re-)define variables whose name you (re-)use.

Mathcad looks above and to the right for any definition of a variable that you use. If it's undefined, the numeric processor will complain. The symbolic processor can deal with undefined variables, and also with variables defined in terms of undefined variable.

Using Prime you can also undefine variables.

 

The same goes for functions...

 

Success!
Luc

 

 

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:kenan2)

Yes you can, but you should be sure to (re-)define variables whose name you (re-)use.

Mathcad looks above and to the right for any definition of a variable that you use. If it's undefined, the numeric processor will complain. The symbolic processor can deal with undefined variables, and also with variables defined in terms of undefined variable.

Using Prime you can also undefine variables.

 

The same goes for functions...

 

Success!
Luc

 

 

Werner_E
25-Diamond I
(To:kenan2)

As far as I remember you are using Prime.

Here you are able to clear variables using the clear command.

You could also clear a variable for symbolic use only by using clear.sym

See the simple example below

B.png

Announcements

Top Tags