User:Snooferfloosh: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Front page for tips-n-tricks that I've found useful...") |
No edit summary |
||
Line 1: | Line 1: | ||
Front page for tips-n-tricks that I've found useful... | Front page for tips-n-tricks that I've found useful... | ||
---- | |||
Creating cell arrays requires comma separation. The following code generates a syntax error: | |||
<nowiki>a = {'hi' 'there' 34;'doc' 'bye' {'now' 'harold'}}</nowiki> | |||
but changing it to: | |||
<nowiki>a = {'hi', 'there', 34;'doc', 'bye', {'now', 'harold'}}</nowiki> | |||
works. |
Revision as of 12:05, 2 January 2012
Front page for tips-n-tricks that I've found useful...
Creating cell arrays requires comma separation. The following code generates a syntax error: a = {'hi' 'there' 34;'doc' 'bye' {'now' 'harold'}} but changing it to: a = {'hi', 'there', 34;'doc', 'bye', {'now', 'harold'}} works.