Files
jak-project/test/goalc/source_templates/with_game/test-access-inline-array.gc
T
2020-10-09 13:23:41 -04:00

19 lines
358 B
Common Lisp

(define format _format)
(let* ((print-method (method bfloat print))
(my-float (new 'global 'bfloat))
)
(set! (-> my-float data) 1.23456)
(print-method my-float)
(format #t "~%")
)
#|
(let ((x 0))
(while (< x 9)
(format #t "method ~d of ~A is ~A~%" x bfloat (-> bfloat method-table x))
(+1! x)
)
)
|#
0