-
Single-line comments are started with
//
. Multi-line comments are started with/*
and ended with*/
. -
C# uses braces (
{
and}
) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Tutorial available at: https://www.youtube.com/watch?v=nmb-0KcgXzI | |
# Feedback welcome: jacksonbates@hotmail.com | |
from gimpfu import * | |
def NAME_OF_MAIN_FUNCTION(image, drawable): | |
# function code goes here... | |