function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Faizan Ali 24Faizan Ali 24 

Invalid type: var ???

Hi All,

I am getting a very rookie error. I am not sure why I am getting it however could someone please help?

I am getting the below errors:

User-added image

Code:

User-added image


 
Best Answer chosen by Faizan Ali 24
ravi soniravi soni
Hi Faizan ,
do use integer insted of Var.
for Example :=   for(integer i=0; i<26; i++){
// Write your code here
}

let me know, if it's helps you and mark the best for this answer so that it can help to others

All Answers

Faizan Ali 24Faizan Ali 24
Fixed 1 of the errors now getting this:

User-added image
ravi soniravi soni
Hi Faizan ,
do use integer insted of Var.
for Example :=   for(integer i=0; i<26; i++){
// Write your code here
}

let me know, if it's helps you and mark the best for this answer so that it can help to others
This was selected as the best answer