Error G0122: Bad file handle

User ForumError G0122: Bad file handle
yate asked 2 years ago
G0122 : Bad file handle [game_hpdsetcondprior.g, line 116]

What does this error mean?

1 Answers
aptech Staff answered 2 years ago

The error means that the function on line 116 of your file game_hpdsetcondprior.g was given a variable as an input that was supposed to contain a file handle, but it did not. It is most likely caused by an error in the function that was supposed to create the file handle (possibly either the GAUSS command create, or the GAUSS command open.