Thursday, April 22, 2021

Hello World

Start with Hello World as a tradition.

Try to enter code block to blogger using Hilite.me !

Test code sample in salesforce Apex format.

@isTest
private class HelloWorld_Test{
  static testMethod void createHelloWorld() {
        Account a = new Account(name='Hello World');
        insert a;
        System.debug(LoggingLevel.INFO, 'Hello World account ID :' + a.Id);
  }
}

End of code block Test.

No comments:

Post a Comment

Something about Renpy For loop error : expected statement.

 It takes me over hour to debug. The simple fact is that under label, we cannot use For loop. One while is valid to be used under label. To ...