So in VEX C++ Pro, I can type vex::task::sleep(aNumber) and have it wait for aNumber, but on RMS, it just wants vex::sleep(aNumber). Is there any difference between the two, and is there a common line of code that works for both so I don’t need to change my code if i had to switch from VCS to RMS and vice-versa?
so if I switch from vex::task::sleep to vex::this_thread, it should work on both VCS and RMS without any changes to the code?
yes, quite different, there are pros and cons for each approach.