Post Reply 
Idea: new keyword OPERATOR
06-11-2015, 12:02 PM (This post was last modified: 06-11-2015 05:00 PM by compsystems.)
Post: #1
Idea: new keyword OPERATOR
Hello, sorry for my bad English, my multilingual chip is damaged =(

I want to create a new library of functions, but using operator notation, nonfunctional

functions are currently defined as follows

functionname (arg1, arg2)
Begin
...
End;

I think, should add a new keyword Operator

Operator arg1 functionname arg2;
Begin
...
End;

Operator arg1 ⊗ arg2;
Begin
...
End;

Operator arg1 ⊕ arg2;
Begin
...
End;

Operator arg1 ⊂ arg2;
Begin
...
End;

Good idea?
+1 or -1

The hp48 allowed to define functions as operators
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Idea: new keyword OPERATOR - compsystems - 06-11-2015 12:02 PM



User(s) browsing this thread: 1 Guest(s)