********************************** wake wifi
Error text:Syntax error ,Error num=1 ,Error line=210
1
Error text:ENDIF without IF ,Error num=26 ,Error line=216
Error text:ENDIF without IF ,Error num=26 ,Error line=222
Logical Op causes probs in IF - End If
Logical Op causes probs in IF - End If
Don't know if this has been raised previously but if you place the logical operators in the order shown in the manual if screws up the code. If you reverse the operators it works as expected. The best would be that the order didn't matter I guess.
You do not have the required permissions to view the files attached to this post.
- cicciocb
- Site Admin
- Posts: 1978
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
Re: Logical Op causes probs in IF - End If
Hi Peridot,
it is not very clear for me but probably you are talking about the operator => that is not recognised.
In this case, you are right, there is an error in the documentation, the right syntax is >=
I'll correct in the documentation.
edit: just noted that is correctly reported for the strings
p.s.
this is in line with VBA
https://learn.microsoft.com/en-us/offic ... -operators
it is not very clear for me but probably you are talking about the operator => that is not recognised.
In this case, you are right, there is an error in the documentation, the right syntax is >=
I'll correct in the documentation.
edit: just noted that is correctly reported for the strings
p.s.
this is in line with VBA
https://learn.microsoft.com/en-us/offic ... -operators