Raised This Month: $12 Target: $400
 3% 

How to make stocks with already existing methomaps?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 11-10-2017 , 13:12   How to make stocks with already existing methomaps?
Reply With Quote #1

Hi,

Is there any way to make stocks of already existing methodmaps, without editing the main file.inc?
Like, I want to create a new stock: arraylist.GetBool(int index) (I know that is pretty unseful, just for example)

How can I do it?
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 11-10-2017 , 16:37   Re: How to make stocks with already existing methomaps?
Reply With Quote #2

If you're asking if you can modify the ArrayList methodmap definition without editing the SM includes, no. If you want to make your own methodmap that extends ArrayList, you can. The syntax for inheritance is methodmap Derived < Base.

Stocks don't have anything to do with this.

Last edited by Fyren; 11-10-2017 at 16:37.
Fyren is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode