Please help a beginner here. expected constructor...

mihoc:
What loop? I want my script to only run once and then stop.

Put in an empty loop() function or it won't compile or put the code in loop() and only allow it to run once