can you call a function from a method?

BlitzMax Forums/BlitzMax Beginners Area/can you call a function from a method?

type rock

function create(size)
..use size
end function

method dosomething( )
create(25)      'I've tried self.create(25) and rock.create(25)
end method

end type



how do you do it?Please.

thanks,
mudcat

rock.create(25) should work. What does it say when you try that?

it says
Unhandled Memory Exception Error

WarrenM,
Thanks for the help,it worked.
mudcat