Hi,
I'm trying to figure out some CODE I've been sent for a project.
============================================
If (getMS - tickSerial) > 1000 Then
'this code executed every 1000mS
tickSerial = getMS
str = "$test stringW" 'Here STR is a VARIABLE this string cannot be more than 15 characters long or the servos may glitch
For i = 0 To Len(str) - 1
Call putFifo(str(i)) 'Here STR is a FUNCTION shown by ()
Next i
Endif
=================================================
It's just been explained to me that the blue STR is a Variable and the Red STR is a Function!
Am correct in guessing that the Orange one is a Variable?
Camerart
I'm trying to figure out some CODE I've been sent for a project.
============================================
If (getMS - tickSerial) > 1000 Then
'this code executed every 1000mS
tickSerial = getMS
str = "$test stringW" 'Here STR is a VARIABLE this string cannot be more than 15 characters long or the servos may glitch
For i = 0 To Len(str) - 1
Call putFifo(str(i)) 'Here STR is a FUNCTION shown by ()
Next i
Endif
=================================================
It's just been explained to me that the blue STR is a Variable and the Red STR is a Function!
Am correct in guessing that the Orange one is a Variable?
Camerart