Power basic CC50 seems bugged as it will not compile the following without a n error:
#COMPILE EXE
FUNCTION PBMAIN () AS LONG
IF LC&<>0 THEN LPRINT ELSE LC&=-1
PRINT "hello"
END FUNCTION
results in a syntax error as it does not like the ELSE statement
also, following my earlier post on differences there is a bug with for next; it errors on compiling the following;
FOR A=1 to 10
For B= 1 to 10
Print
NEXT B,A
as it expects a 2nd next statement - a work around is to use NEXT B:NEXT A but there does seem to be some bugs with this new version of the complier.
#COMPILE EXE
FUNCTION PBMAIN () AS LONG
IF LC&<>0 THEN LPRINT ELSE LC&=-1
PRINT "hello"
END FUNCTION
results in a syntax error as it does not like the ELSE statement
also, following my earlier post on differences there is a bug with for next; it errors on compiling the following;
FOR A=1 to 10
For B= 1 to 10
NEXT B,A
as it expects a 2nd next statement - a work around is to use NEXT B:NEXT A but there does seem to be some bugs with this new version of the complier.
Comment