Rank: Newbie
Groups: Registered
Joined: 8/4/2020(UTC) Posts: 7   Location: Mumbai
|
Hi, I'm getting Error " Statements and labels are not valid between 'Select Case' and first 'Case'" when trying scripting with "Select Case" command in vMix Script Code:dim strTest as string = "B"
Select Case strTest
Case "A"
Console.WriteLine("Character is A")
Case "B"
Console.WriteLine("Character is B")
End Select
Please let me know the proper sytnax for Select Case statements in vMix Thanks in Advance
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/19/2015(UTC) Posts: 8 Location: Östersund, Sweden
Thanks: 2 times
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 20  Thanks: 5 times
|
Greetings, I have not been able to do it but if it is only that you can use the if else or the switch or choose or try to put all the visual basic namespace ..... maybe the select word is a command exclusively used for vmix , it can be the same if you put vmix inside the script as the name of a variable for example .... this should be clarified ..... mmmm translated from spanish to english
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/4/2020(UTC) Posts: 7   Location: Mumbai
|
I have been using else if for my script, but the language of the error sounded like there was a syntax problem.
If anyone has any details please clarify
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close