How to obtain IDL command line behaviour in IDL notebooks. #30
Replies: 2 comments
-
Sorry for missing this! It's on our list to look at doing. The challenge is that the IDL Console has a special way to determine if a command should do implied print or not. All notebook cells run as main level programs, so we will have to add in logic for this. I'll take a look at it here in the next couple of weeks and see what it would take to implement. |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI just published a release of this. I updated our example "hello world" notebook that comes with the extension, but in general, it should match the IDL Console. Here's some examples: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using IDL command line, we can easily print a variable value directly by typing the variable name as shown below
However, in the notebook, we need to print the variable and not type it directly as shown below
I was wondering if there is a way to avoid typing
print
every time and use some kind of "magic" command, say%
or!
to mimic the command line behaviour directly.Beta Was this translation helpful? Give feedback.
All reactions