Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

#n

¤n

 

 

¤n

#n

 

#EC2Ah

 

 

 

Example:

SB~B returns ¤ EC2Ah.

 

 

 

 

 

 

 

SERIAL

Description: Serial number command: Retrieves the calculator serial number. This is the software serial number and does not match the hardware serial number printed on the back of the calculator, but it is typically similar.

Input/Output:

Level 1/Argument 1

Level 1/Item 1

 

 

“string”

Example: SERIAL may return "HP50 Serial Number: CNA6110007".

SH

Description: String to hex command: Returns the hex representation of the characters of a string.

Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

“string1

“string2

 

"A" S→H

 

 

 

Example:

returns "14".

 

 

 

 

 

 

 

S~N

Description: String to name conversion command: Converts a string to a name and a name to a string. This command allows you to create invalid names, such as a null name.

Do not purge or move the null directory in HOME. Do not modify data in this directory.

Input/Output:

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

“string”

'global'

'global'

“string”

Example: "" S~N returns ''.

SREV

Description: String reverse command: Gives the mirror image of a string.

Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

“string1

“string2

 

 

 

 

 

Example:

"ABC" SREV returns "CBA".

 

 

 

 

 

 

 

S2

Description: Decompilation command: Decompiles an object in System RPL mode. If the “extable” library is installed, it will use the table to lookup the proper mnemonics for all known System RPL commands.

Input/Output:

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

obj

“string”

 

 

 

68 The Development Library

Page 506
Image 506
HP 50g Graphing, 48gII Graphing manual →S2, String1 String2, Returns, String Global, Example S~N returns