lcd button command not registering

i need help. it worked before but now it wont
Capture.PNG

im attempting to get the left button on the lcd to be what starts up the rest of the tasks after the lcd display turns on. like an activation confirm button. nothing does anything on the robot after the lcd displays its text until the button is pressed

So the function is here in the helpdocs.

http://help.robotc.net/WebHelpVEX/index.htm#Resources/topics/VEX_Cortex/Natural_Language/PLTW/UntilSensor/untilButtonPress.htm

That function is under the PLTW NL “library” so what you have to do is enable Natural Language under the robot menu in ROBOTC.

how would i make it so the button is what causes the robot to go into responsive active mode? as in, the robot only starts the display but does not respond to any controls until that button is pressed?

Can you clarify what you want?

heres what i want:

when i power on the robot, it will display this on the screen using this code:

clearLCDLine(0);
bLCDBacklight = true;
wait1Msec(100);
displayLCDCenteredString(0, “Darkez Model:”);
wait1Msec(1000);
displayLCDCenteredString(1, “H.D 9.X”);

i want this to remain as is until the button is pressed on the lcd screen. additionally, until the button is pressed, i dont want the controls to work. i want the robot to remain “disabled” until i press that button. once that button is pressed, i want the robot to become “enabled” and responsive to the controls. here is the sample of my entire code without the separation command.

#pragma config(Sensor, dgtl1, blinker, sensorLEDtoVCC)
#pragma config(Sensor, dgtl4, proximitydetectorinput, sensorSONAR_mm)
#pragma config(Motor, port1, leftdrive, tmotorVex393_HBridge, openLoop, driveLeft)
#pragma config(Motor, port2, middrive, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port10, rightdrive, tmotorVex393_HBridge, openLoop, reversed, driveRight)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//

task Start_light;
task flash2;

task main()
{
clearLCDLine(0);
bLCDBacklight = true;
wait1Msec(100);
displayLCDCenteredString(0, “Darkez Model:”);
wait1Msec(1000);
displayLCDCenteredString(1, “H.D 9.X”);
startTask(flash2);
while(true)
{
motor[leftdrive] = vexRT[Ch2] + ((1-vexRT[Btn5D]) * vexRT[Ch1]);
motor[rightdrive] = vexRT[Ch2] - ((1-vexRT[Btn5D]) * vexRT[Ch1]);
motor[middrive] = vexRT[Btn6D] * vexRT[Ch1];
}
}

task Start_light()
{
while(true)
{
SensorValue[dgtl1] = true;
wait1Msec(500);
SensorValue[dgtl1] = false;
wait1Msec(500);
}
}

task flash2()
{
while(true)
{
if(vexRT[Btn5U] == 1)
{
startTask(Start_light);
}
else if(vexRT[Btn5D] == 1)
{
stopTask(Start_light);
SensorValue[dgtl1] = false;
}
}
}

how do i accomplish this

Ya just put the untilButton line right before

startTask(flash2);

i did that but it was coming up with the error as shown in the first picture

this error again. it wont recognize the command
Capture2.PNG