thanks Claude and Kyle for the response...
ok.. what I did was break the [gripd] interface up into two number input fields and then [pack]ed those two with an initial [mobile:044( [symbol], so as to preserve the "0" in the front and added all that in a [makesymbol %s-%s-%s] object.
It looks quite allright at the end,,, although it is a bit awkward to input, since you cant set a digit input limit for the textboxes in gripd and passing 6 digit in each box gets it messed up.... I guess itīll do for now.
[r pack]
I
[mobile:044(
I
[symbol] [r textbox1] [r textbox2]
\ I / \
[pack s a a] [s pack]
I
[makesymbol %s-%s-%s]
adrian
On 9/19/06, Kyle Klipowicz <kyleklip@gmail.com> wrote:
Hi Adrian~
Try breaking it up into different fields.
~Kyle
On 9/19/06, adrian goya <
adrian.goya@gmail.com> wrote:
>
> Hi,
>
> Í'm building an interface for registering visitors to an expo. I'm on
> windows using 0.39.2-extended-test4
and the GUI is made with [gripd].... So,
> someone inserts his name, mail and phone number in 3 different textboxes in
> [gripd] and everything is [pack]ed together and inserted to a [textfile].
> The problem is that the phone numbers get converted to scientific numeric
> format (eg: 0445554241424 = 4.4554e+011), so itīs of no use.
>
> How can I get the 0445554241424 (yes, that's a cellphone) to enter the
> textfile exactly as it is written in the textbox?
>
> Any help would be greatly appreciated, as this needs to be ready in the next
> 12 hours... jeje.
>
>
> adrian.
> _______________________________________________
>
PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
--
http://theradioproject.com
http://perhapsidid.blogspot.com
(((())))(()()((((((((()())))()(((((((())()()())())))
(())))))(()))))))))))))(((((((((((()()))))))))((())))
))(((((((((((())))())))))))))))))))__________
_____())))))(((((((((((((()))))))))))_______
((((((())))))))))))((((((((000)))oOOOOOO