Really simple NEWB questions... What are the { } for?

Hi,
Although;

#include <Arduino.h>

int main()
{
  init();
  pinMode(13, OUTPUT);
  while (1)
  {
    digitalWrite(13, !digitalRead(13));
    delay(500);
  }
}

May work because of the roots of Arduino C++.
BUT:

#include <startrek.h>

void setup()
{
Serial.begin(WarpFactor3);
pinMode(deckofenterprise,spock);
}
void loop()
{
Serial.println("It isn't Arduino Code as 99% of users see it ..Jim")
Serial.println("Logic clearly dictates that the needs of the many clearly outweigh the needs of the few.");
}

Tom... :slight_smile: