We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9f457 commit a7b8948Copy full SHA for a7b8948
src/basic_pro.cpp
@@ -758,6 +758,7 @@ namespace lib {
758
void flush_lun(EnvT* e) {
759
// within GDL, always lun+1 is used
760
int nParam = e->NParam();
761
+ if (nParam == 0) e->Throw("Incorrect number of arguments.");
762
for (int p = 0; p < nParam; p++) {
763
DLong lun;
764
e->AssureLongScalarPar(p, lun);
0 commit comments