v4.3.3
4.3.3 (April 2022)
- changed www.gle-graphics.org to glx.sourceforge.net everywhere
- replace old ghostscript URL with www.ghostscript.com
-Bug Fix: error was thrown if user called a subroutine as an r-value that had default arguments and did not specify all the arguments
!
! -- test which caused error for incorrect number of arguments when subroutine is
! an r-value in an expression.
!
sub mysum a b
default b 4
return a+b
end sub
! try stand alone subroutine call
mysum(2,6)
! ok
mysum(2)
! ok
mysum 2 4
! ok
mysum 2
! now use subroutine as an r-value
! ok
e = mysum(2,3)
print e
! the following threw this error but is now fixed
!>> test.gle (24) |e = mysum(2)|
!>> ^
!>> Error: incorrect number of parameters in call to 'MYSUM': found 1, expected 2
e = mysum(2)
print e