Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
external sub/function
#1
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:
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

   
Reply


Messages In This Thread
external sub/function - by MasterGy - 08-02-2022, 09:31 PM
RE: external sub/function - by admin - 08-02-2022, 09:40 PM
RE: external sub/function - by MasterGy - 08-02-2022, 09:44 PM



Users browsing this thread: 1 Guest(s)