Block Code changing to Grey Blocks

My students are using VEX V5 Coding Studio. They create their program using the blocks. They will save their program and when they return the next day, the blocks change to large grey blocks that cannot be deleted. You can select text, and try to change the syntax of the code (indent, etc) and it doesn’t fix the problem. Has anyone else experienced this? I’ve been able to paste a .h file in the text and half the time it will show up as blocks.

I don’t know what to make of it. Any suggestions…

Hello Jonathan!

It would seem like you are experiencing a bug with VCS. I have heard rumors at competitions that older devices do not function extremely well with VCS. If you have not allready, I would try emailing the modkit support team at [email protected] and making sure that your computers meet the minimum requirements to run VCS properly (image below).

There has only been a single VCS release, I assume you were joking but please don’t confuse our customers.

3 Likes

My apologies, I thought there was an update, I confused this with the recent release of the alternative text programming. I have edited my post to accurately reflect this. That was really slow of me, I try to keep posts accurate and truthful. Thank you for pointing this out before any confusion could be created.

1 Like

Editing a block-based program in the text panel is a bit risky. You must avoid any syntax errors. Indent, extra whitespace don’t seem to matter, but extra bracket, reserved words, i.e., compiler errors, can fail. Occasionally large chunks disappear. Most often, though, when the syntax is completely corrected, if the “Text” tab is clicked the program reflows (returning indents and linespaces) and will then show correctly in the “Blocks” tab.

Are the “large grey blocks” (mine are red) happening on programs that have not been edited in the text panel? Or just those that have been? Do all the blocks in a program fail, or just some?

As usual, save often.

It really works surprisingly well, considering. Hoping it gets better.

1 Like

Good Morning - I don’t have my students edit text. They just drag the blocks into the work space and build their programs. They save it and when they return, we get the grey blocks. One block within the grey block is red.

I have brand new computers. Windows 10, Intel i7-7700 @ 3.6 GHz. TB Hard drive, 16 GB RAM. 64 Bit Processor.

As far as I know, I have the most current version of VEX Coding Studio.

send me an example program and we can have the dev team take a look.

when(STARTED){
openSpots=0;
i=0;
j=0;
parkingLot=[
[0,0,0,0,0],
[0,2,1,1,2],
[0,1,1,2,1],
[0,0,0,0,0],
[0,1,2,2,1]
];
while(i<5){
while(j<5){
if((parkingLot[i][j]==1)){
openSpots=(openSpots+1);j=j+1;}else{
j=j+1; } } i=i+1;
j=0;
}Brain.Screen.print(“Number of open”);
Brain.Screen.newLine();
Brain.Screen.print("parking spots: ");
Brain.Screen.print(openSpots);
}
I copied the code from the student computer. It had windows that I couldn’t close or move. This is the code from the CSE course that I am teaching. Line 15 has an extra pair of parentheses, but the student told me that they did not type them there.

Here is another student’s code from today:
The while loops on line 12 & 13 are not right.
Line 14 has the start of some block pseudocode and it ends on line 19.

when(STARTED){
openshots=0;
i=0;
j=0;
parkinglot=[
[0,0,0,0,0],
[0,2,1,1,2],
[0,1,1,2,1],
[0,0,0,0,0],
[0,1,2,2,1]
];
while((i<5)){
while((j<5)){
n /glot[i][i
openshots=(openshots+1);
j=(j+1);
}else{
j=(j+1);
}
/
} i=(i+1);
j=0;
}Brain.Screen.print(Number of open);
Brain.Screen.newLine();
Brain.Screen.print(parking spots: );
Brain.Screen.print(HELLO);
}