Are you sure your “R” variable is not set elsewhere in your code with another value? Sometimes we give the same name to variables for very different assignment.
If you have copy/paste your code from somewhere on internet, try to retype the quotation marks with your own keyboard (or delete AS “Collar PVO” from your code).
Ok, this kind of code will not work with PRT version previous 10.3. RGB values as variables are not recognized by the programming language, that’s why you get this syntax error.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue