hi m getting the error while in one video the same code is working fine
****Error: Compile Error: expecting an equals sign, found '1' at line 2 column 14****
trigger HelloWorld on Lead (before update) {
for (Lead 1 = Trigger.new) {
1.FirstName = 'Hello';
1.LAstName = 'World';
}
}
Lead 1 = Trigger.new
this should beLead l : Trigger.new
like something