Error Blynk and OnOff

@Costas
In your post : [SOLVED] How to run Blynk.run() only when WiFi connection is established

U use void setup and void loop , can I use it without setup and loop?