File: test__define.pro

package info (click to toggle)
gnudatalanguage 0.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,228 kB
  • ctags: 11,455
  • sloc: cpp: 143,352; makefile: 426; sh: 103; ansic: 44; awk: 18; python: 6
file content (10 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
pro test::printXY
  print, self.x, self.y
end
function test::init
  self.x = 10
  return, 1
end
pro test__define
  struct = {test, x : 5, y : 5} 
end