Hello All. It's been many years since I played with basic and I'm doing pretty good on some complex macros however I have two items I need to ask about.
1) It seems the only way I can get messages to post to the message line and the errorlog is to make sure there is Code "something" afterwards.
Message("Send Test 1")
Code "G4 P0.5"
While IsMoving(0
Sleep(10)
Wend
Any code will work, it doesn't have to be dwell. But If I do not put code in there but just a sleep(10) or the While IsMoving() I stand a 50/50 chance the message will post.
2) Compound Booleans Test
If (RED=1 AND BLUE=1) OR
(RED = 0 And Green = 1) Then
do something
End If
Can multiple Boolean Tests be performed like this without using a lot of If Then Else and duplicating code?
Richard