HP Forums
User function help? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: User function help? (/thread-15788.html)



User function help? - Tonig00 - 10-23-2020 10:28 PM

Hello

Is there a way to link some kind of help to the developed user functions?

For example, I have prepared a short program to find the matrix for base change:
EXPORT chbase(d)
BEGIN
// Program to get the matrix to change
//vectors in base A to base B

// d es is the dimension of the bases

local A,B,Mab;

A:=MAKEMAT(0,d,d);
// Put the base vectors in columns
A:=EDITMAT(A);

B:=MAKEMAT(0,d,d);
B:=EDITMAT(B);

// Be C the canonical base
// Mab = Mcb.Mac = Mbc^−1.Mac

// Since the bases are given in C base
//then A = Mac & B = Mbc

Mab:=B^−1*A;

RETURN Mab;
END;

When I search in the "User" menu: Chbase, in the command line appears:
Chbase()

This does not give any information of what do I have to put in brackets.
With the HP Prime functions (like "eigVc()" )you can put in the brackets and press Help to look for information regarding how this function works.

Is it possible with user functions to do the same?

Thanks

Toni


RE: User function help? - pinkman - 10-24-2020 04:03 AM

Hi,
You can’t customize the built in help. Cyrille gave a suggestion here: https://www.hpmuseum.org/forum/thread-14106.html?highlight=Help


RE: User function help? - Tonig00 - 10-24-2020 10:41 AM

Thanks, I will have a look on that