summary refs log blame commit diff stats
path: root/tests/ambsym/mambsys1.nim
blob: 22e54cb949dd6f4a01125ff984136e4cf6e004d4 (plain) (tree)
1
2
3pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.l
import mambsys2 # import TExport

type
  TExport* = enum x, y, z

proc foo*(x: int) =
  discard
n class="s">"-e", `tell application "System Events" to tell every desktop to set picture to `+strconv.Quote(path)).Run() if err != nil { err = fmt.Errorf("%s\n%s", "set_darwin.go: failed to set background", err.Error()) } return err }