Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Debugging 在IDL中获取变量值,而不使用“打印”语句_Debugging_Variables_Idl Programming Language - Fatal编程技术网

Debugging 在IDL中获取变量值,而不使用“打印”语句

Debugging 在IDL中获取变量值,而不使用“打印”语句,debugging,variables,idl-programming-language,Debugging,Variables,Idl Programming Language,在IDL控制台中,我需要另一种方式来获取变量值,用于调试目的。我现在就是这样做的: IDL> cvel=299.792458e6 IDL> print, cvel 2.99792e+008 有一种简单快捷的方法可以在console中获取cvel值吗?例如,在以下错误命令中: IDL> cvel % Attempt to call undefined procedure/function: 'CVEL'. 最近,IDL 8.5(可能更早)将其添加到了IDL中: IDL>

在IDL控制台中,我需要另一种方式来获取变量值,用于调试目的。我现在就是这样做的:

IDL> cvel=299.792458e6
IDL> print, cvel
 2.99792e+008
有一种简单快捷的方法可以在console中获取cvel值吗?例如,在以下错误命令中:

IDL> cvel
% Attempt to call undefined procedure/function: 'CVEL'.

最近,IDL 8.5(可能更早)将其添加到了IDL中:

IDL> cvel=299.792458e6
IDL> cvel
   2.9979245e+08

我有7.1.1版本。我怎么能知道新方法在哪个版本起作用?看起来像。