Skip to main content
Hu Zhou 提问于 #Apex
Salute,

I'm new to Apex development, today, when I developing an Apex Trigger on a Custom Object I meet following error:

Code:

trigger TestTrigger on CustomObjectBlah__c (before insert) {

Set exampleVaribleName = new Set();

}

When I click save, I got this error:  expecting a semi-colon, found 'exampleVaribleName'

There is a ; on the first statement, why this error?

Thank you very much.
2 个回答
  1. 2015年3月1日 14:33
    Thank you James, very quick and accurate anwser.

    I should read the "Force.com Apex Code Developer's Guide" first. 

    Cheers. 
0/9000