Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gartho

Pages: [1]
1
YES!
is OK of I move 'ELSE' back to first char position
Many tnx.
Will d'load v1.3 & see what happens!

2
QB64 Discussion / syntax error on 'ELSE' in '$include: 'xxx.bm'
« on: June 03, 2019, 04:28:54 am »
QB64 ver 1.000
syntax error on 'ELSE'  in '$include: 'xxx.bm' when 'ELSE' is not first & only word in line
this is OK... 
IF fkey = 6 THEN
    do delete
ELSE
    do update
END IF
this gives 'syntax error' on 'ELSE' line when IDE does it's scan
IF fkey <> 27 THEN
    IF fkey = 6 THEN
        do delete procedure
    ELSE
        do update procedure
    END IF
END IF

the work-around...
    IF fkey = 6 THEN ....
    IF fkey <> 6 THEN ....

guess I should move to  v 1.3 huh?

Pages: [1]