Post Reply 
what is a string?
12-11-2013, 07:29 PM
Post: #4
RE: what is a string?
(12-11-2013 07:11 PM)Alberto Candel Wrote:  Thank you. I was thinking more from the calc point of view. If I had another program nib() that inputs a string of 01's and converts it to a string of -101's, how should I do the composite
nib(bin(13)) so that the quotes are not part of the input?

Not part of the input for which program? For nib()? I am also not sure what you mean by a string of "-101's". Right now, your bin() program returns a string. Do you wish the string to actually be a number object? For example:

EXPR("10110") will convert the string "10110" to the decimal number 10110.

Is this what you meant? Perhaps you can share what the goal of nib() is? Is it supposed to count the number of nibbles in the binary representation?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
what is a string? - Alberto Candel - 12-11-2013, 06:26 PM
RE: what is a string? - Han - 12-11-2013, 06:46 PM
RE: what is a string? - Alberto Candel - 12-11-2013, 07:11 PM
RE: what is a string? - Han - 12-11-2013 07:29 PM
RE: what is a string? - Alberto Candel - 12-11-2013, 10:02 PM
RE: what is a string? - Han - 12-12-2013, 02:51 PM
RE: what is a string? - Alberto Candel - 12-13-2013, 08:27 AM
RE: what is a string? - Han - 12-13-2013, 02:33 PM



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