Hi I am trying to run a GAUSS program file, but it gives me an error saying for same line:
G0064 : Operand missing G0008 : Syntax error
The code on that line is:
qz=(k1+k2)*(mxpq-Lvst[i]);
Can someone please help me fix the error?
3 Answers
0
qz
is now a GAUSS built-in function, so you will need to use find-and-replace to change all uses of qz
to something else. I would recommend qz_
.
0
Thank you very much. I have solved the problem on "qz" issue, but I got a new error as below:
Error in xlsWriteM: Could not load file
The code on that line locates xls.src is:
errorlogat "Error in xlsWriteM: "$+retXlsErr(__convertXlsErrCode(err), file);
Could you help me fix the error?
0
This is likely occurring because you are trying to load a data file and GAUSS cannot locate that file in any directory it is looking in.
There are a few blogs and tutorials that may help with this issue:
- "The Current Working Directory, What You Need to Know" will help explain how GAUSS decides what directories to search in when looking for files.
- "SRC_PATH tutorial"
- "Make Your Code More Portable: Data Paths" explains best practices for setting your data paths.
Hope this helps.
Your Answer
3 Answers
qz
is now a GAUSS built-in function, so you will need to use find-and-replace to change all uses of qz
to something else. I would recommend qz_
.
Thank you very much. I have solved the problem on "qz" issue, but I got a new error as below:
Error in xlsWriteM: Could not load file
The code on that line locates xls.src is:
errorlogat "Error in xlsWriteM: "$+retXlsErr(__convertXlsErrCode(err), file);
Could you help me fix the error?
This is likely occurring because you are trying to load a data file and GAUSS cannot locate that file in any directory it is looking in.
There are a few blogs and tutorials that may help with this issue:
- "The Current Working Directory, What You Need to Know" will help explain how GAUSS decides what directories to search in when looking for files.
- "SRC_PATH tutorial"
- "Make Your Code More Portable: Data Paths" explains best practices for setting your data paths.
Hope this helps.