I do my first steps in programming with Linux. Now I have a question about the following error:

The program is very small and works on Windows well:
Code: Select all
; Begin-----------------------------------------------------------------
EnableExplicit
; Procedure Main------------------------------------------------------
Procedure Main()
Protected desks.b
Protected i.l
desks = ExamineDesktops()
Debug desks
If desks
For i = 0 To desks - 1
Debug Str(DesktopWidth(i)) + " X " + Str(DesktopHeight(i))
Next i
EndIf
EndProcedure
; Main----------------------------------------------------------------
CallDebugger
Main()
; End-------------------------------------------------------------------
EndThanks for tips.
Cheers
Stefan



