08-02-2022, 09:31 PM
Hello !
I would like to collect all the sub/functions I have written so far to make a universal 3d engine. I would like sub/function to be in a separate file. attachment. What could be the problem ? it recognizes m_coll.bm, it does not indicate an error there. But it does not recognize the "veletlen" function. why ?
boss-program:
m_coll.bm (sub/function library)
I would like to collect all the sub/functions I have written so far to make a universal 3d engine. I would like sub/function to be in a separate file. attachment. What could be the problem ? it recognizes m_coll.bm, it does not indicate an error there. But it does not recognize the "veletlen" function. why ?
boss-program:
Code: (Select All)
Rem $INCLUDE: 'm_coll.bm'
print veletlen (10)
m_coll.bm (sub/function library)
Code: (Select All)
FUNCTION veletlen (x)
veletlen = x * RND(1)
END FUNCTION