You need to sign in to do that
Don't have an account?
jagjitsingh@indivar.com
Code Run
Hi
integer[] myints = new integer[]{1,2,3,4,5};
for (integer i : myints) {
system.debug(i);
}
I want to run these lines where i should write and test the output
Thanks
Just click on Your Name on top right side > Then Syystem Logs > Copy/Paste your code there and execute it.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Just click on Your Name on top right side > Then Syystem Logs > Copy/Paste your code there and execute it.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi Ankit
That's O.K , but it is not displaying output . As per logic i want that it should display variable value 1,2,3,4,5.
Regards
Jagjit Saini
When you click on execute a log is generated in below section. You need to click on that log. If that log is not generated then you need create a debug log first. Setup > Administration Setup > Monitoring > Debug Logs > Create log by your name.
Now execute the code again in system logs and check if the log is created or not.
Thanks
Ankit Arora
Blog | Facebook | Blog Page