SourceForge has been redesigned. Learn more.
Close

#409 missing params not detected at compil. in STRPUT and STRPOS

open
nobody
None
5
2011-06-07
2011-06-07
Alain C.
No

Missing mandatory field not detected when compiling STRPOS and STRPUT

pro TEST

print, STRPOS('IDL is fun', 'fun')
print, STRPOS('GDL is more fun')
print, STRPUT, 'GDL is more fun'

end

no complains at all when compiling with GDL

GDL> .r /tmp/test.pro
% Compiled module: TEST.

IDL> .r /tmp/test

PRINT, STRPOS('GDL is funner')
^
% STRPOS: Incorrect number of arguments.
At: /tmp/test.pro, Line 4

strput, 'GDL is more fun'
^
% STRPUT: Incorrect number of arguments.
At: /tmp/test.pro, Line 5
% 2 Compilation error(s) in module TEST.

Discussion


Log in to post a comment.