How to convert from an OSString to an OSNumber ?
How to convert from an OSString to an OSNumber ?
- Subject: How to convert from an OSString to an OSNumber ?
- From: "Brian Jorgage" <email@hidden>
- Date: Fri, 01 Apr 2005 17:29:49 -0500
I am passing in a sequence of numbers as an OSString. I am able to
parse out the five fields based on a delimiter character. So now I
have five strings that are actually representing numeric data.
I am trying to convert the strings into OSNumbers but without success.
OSDynamicCast() does not seem to allow operations of type:
OSDynamicCast(OSNumber, OSString) or
OSDynamicCast(OSNumber, OSString->getCStringNoCopy())
Can anyone provide me w/some help in this ?
Thanks,
Brian Jorgage
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden