define functions, define prototypes(class)

define your own stuff
your function

def myfunction(a,b,c):
    return a + b + c

print myfunction(1,2,3)

your prototype(class)

class myprotptype:
   def __init__(self,v0,v1):
       self.v0 = v0
       self.v1 = v1

myinstance = myprotptype(10,7)

print myinstance.v0
print myinstance.v1

MAS (Multi Agent System) basic style on GH
MAS_00_20140516.gh

 

Comments are closed.