Editing Pythonic
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 54: | Line 54: | ||
{{Code|pyeval optional argument|<syntaxhighlight lang="octave" style="font-size:13px"> | {{Code|pyeval optional argument|<syntaxhighlight lang="octave" style="font-size:13px"> | ||
x = pyeval ("{1:'one',2:'two'}",@cell); | |||
x{1} | |||
ans = one | ans = one | ||
x{2} | |||
ans = two | ans = two | ||
x = pyeval ("{1:'one',2:'two'}",@char); | |||
x | |||
x = | x = | ||
Line 67: | Line 66: | ||
one | one | ||
two | two | ||
whos x | |||
Variables in the current scope: | Variables in the current scope: | ||
Line 77: | Line 76: | ||
Total is 6 elements using 6 bytes | Total is 6 elements using 6 bytes | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||