Subject:
|
Problems with if-close with phantom.dll
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Mon, 26 Jan 2004 15:36:45 GMT
|
Viewed:
|
3190 times
|
| |
| |
Hi to everyone, it's the first time for me on lugnet newsgroup.
I was wandering wether you can help me!!
I have troubles with "If" function... maybe it's my fault, but when I write a
very very simple task (made so simple in order to understand where was the
problem!!!) like:
BeginOfTask(0);
If(2,1,2,2,1); //obviously a right sentence ;)
PlayTone(500,100);
EndIf();
EndOfTask();
I don't hear any tone... actually the program doesn't even run
do you know what's wrong with it? I use phantom.dll
thank you for everything!!
Valeria
|
|
Message has 1 Reply: | | Re: Problems with if-close with phantom.dll
|
| Hi Valeria, (...) I can't understand the language you are using, but, as far as I know, in many other languages for the RCX you have to wait for the PlayTone to complete before exiting the task. Probably you need to insert a Wait instruction, your (...) (21 years ago, 28-Jan-04, to lugnet.robotics.rcx)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|