The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: global variables accessible in objects
Replies: 1   Last Post: Aug 25, 2010 3:56 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 56
From: London
Registered: 10/18/08
global variables accessible in objects
Posted: Aug 24, 2010 11:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'd like an array x to be accessible in an object n without having to
pass it on as a parameter. Is there any way I can define a variable as
global or any other 'elegant' solution to avoid having to change all
the functions that are calling the object method which needs to access
array x?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.