Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

Topic: Simplified Calling Syntax vs. property name/property value syntax
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Nasser Abbasi

Posts: 6,064
Registered: 2/7/05
Simplified Calling Syntax vs. property name/property value syntax
Posted: Nov 11, 2012 4:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I was surprised to read this:


"Simplified Calling Syntax

Object creation functions have convenience forms that allow you to use a
simpler syntax. For example,


is equivalent to

text('Position',[.5 .5 .5],'String','Hello')

Using the convenience form of an object creation function can cause
subtle differences in behavior when compared to formal property
name/property value syntax."

Note what it say at end about "subtle differences in behavior"

Why would the behavior be different? In what way it is different?
This is confusing now as I always thought it is the same call, just
different syntax and the result of the call should be the same?


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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.