Library Commander

 

Size 1226.5 bytes, CRC #7485h

Note: If you can't read some of the characters, download the true type font (HP48GOS2) here and install it on your computer.

Hp 48 Page


English:UP

Library Commander is a command library. A command library is a special library which extends the STRO and OBJOfunctions. The Library Commander adds new keywords (they can be typed on the command line and used in programs). These functions allow you to program easily and directly from the command line in SystemRPL

Warning: These new commands may cause a MEMORY CLEAR. Use them only if you know exactly what you are doing !

TRUE External boolean true.
FALSE External boolean false.
SYMB Creates an algebraic, even an invalid one. Ex: SYMB 1 2 + END
$ binary External of the given address. E.g. $ 3188h (external DUP). To type $, press .
U Hexa External of the given address. U 3188 is equivalent to $ 3188h. To type ", press .
¤ binary System binary of the given number. To type ¤, press .
K$ number Character of the given ASCII code.
XLIB LibNumber PrgNumber Program #PrgNumber of the library #LibNumber.
INCLUDE VarName Includes a given variable content in the line.
PRG External program beginning ($ 02D9Dh), a END must close the program.
~ NoEval ($ 06E97h), which causes the next object not to be evaluated. To type ~, press .
PROG ~ PRG (To edit an external program, begin it with PROG, so it won’t be evaluated when is pressed).
CODE Hexa Creates a CODE object with the following binary data. Length is calculated.
OBJ Hexa Creates an object with the following binary data.
£ Name The name following the £ is compiled as a local name.
£ = .
B$ Size Hexa Creates a binary integer. Works as C# should work.

Francais:UP

Une librairie (ou bibliothèque) de commande est une librairie un peu particulière qui permet d'étendre les fonctionnalités du programme STRO et OBJO, c'est-à-dire l'interprétation et la compilation d'une ligne de commande ou d'une chaîne de caractères par le HP 48GX. Vous disposez maintenant grâce à cette librairie de nouveaux mots clefs. Ceux-ci vous permettront de programmer en System RPL (External) d’une facon tres simple, directement depuis la ligne de commande.

Attention, la plupart de ces commandes demande de bonnes connaissances de la programmation external ou assembleur, une mauvaise utilisation peut conduire à la perte de vos données.

TRUE External correspondant au drapeau TRUE dans le programme.
FALSE External correspondant au drapeau FALSE dans le programme.
SYMB Cree un algebrique y compris un algebrique invalide. Ex:
SYMB 1 2 + END
$ entier External d'adresse l’entier donné dans le programme. Par exemple $ 3188h (DUP). $ = .
U Hexa External d'adresse Hexa dans le programme. Par exemple  3188 (DUP). U= .
¤ nombre System binary (prologue 02911). ¤ = .
K$ Nombre Caractère external (prologue 029BF) de code ASCII Nombre.
XLIB LibNumber PrgNumber XLIB (pointeur sur un objet d'une librairie) de la librairie LibNumber et de numéro PrgNumber dans le programme.
INCLUDE NomVariable Inclut dans le programme le contenu de la variable spécifiée (permet la compilation séparée de programmes).
~ NoEval (06E97), qui a pour effet de placer l'objet le suivant sur la pile sans l'évaluer. ~ = .
PRG Ouverture de programme (02D9D), doit être terminée par un END.
PROG Place un ~ PRG (non évaluation du programme suivant). Doit aussi être terminé par un END. Utilisez PROG pour commencer un programme en external et PRG pour les blocs internes au programme.
CODE Hexa Place le programme assembleur ayant Hexa comme constituant.
OBJ Hexa Place dans le programme l'objet dont on donne la description hexadécimale (y compris le prologue).
£ Nom Le nom suivant le caractère £ est compilé en tant que nom local. £ = .
B$ Taille Hexa Cree un entier binaire de taille donnee. Fonctionne comme C# devrait fonctionner

Hp 48 Page