#pyasmsx example, only testing v01
def sumar(n,m):
return n+m
def main():
bx=55
ax=64
cx=sumar(ax,bx)
print cx
if __name__ == '__main__': main()
resultado de hoy...
; Source generated by PyAsmsx 0.1
; Compile with asMSX.exe (www.robsy.net)
;pyasmsx example, only testing v01
;1 #pyasmsx example, only testing v01
;2
;----------definicion funcion-----------
;3 def sumar(n,m):
;4 return n+m
;5
;----------definicion funcion-----------
;6 def main():
;7 bx=55
;8 ax=64
;9 cx=sumar(ax,bx)
;10 print cx
;11
;12
;...sentencia if...
;13 if __name__ == '__main__': main()
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario