Bonjour Christian Junker
Message du 2006-06-27 21:58:
There is no possibility as I see it, because you cannot directly
convert a decimal to hyper, at least I can't (again I would be happy
if you prove me wrong with a code snippet). But if you do it with a
conversion to an whole number before, you
There is no possibility as I see it, because you cannot directly
convert a decimal to hyper, at least I can't (again I would be happy
if you prove me wrong with a code snippet). But if you do it with a
conversion to an whole number before, you cannot avoid a possible loss
of data, which would make
Bonjour Christian Junker
Message du 2006-06-27 16:46:
Then how would you want to convert it to hyper from Decimal? I believe
there is no working way to do this, but I would be happy if you prove
me wrong.
I don't see your point. Hyper is a signed 64 bits integer, and it fits
inside a Decimal
Then how would you want to convert it to hyper from Decimal? I believe
there is no working way to do this, but I would be happy if you prove
me wrong.
2006/6/27, Bernard Marcelly <[EMAIL PROTECTED]>:
Bonjour Andreas Bregas
Message du 2006-06-27 12:51:
> You're right, but after my fix of i66765 t
Hi Paolo,
getLength simply has a typo. That's why your next example
posted later worked without problems.
OOOPPZZZ..
Yes, this explains why I wasn't able to reproduce the problem
This reveals also that sometimes I'd better go to bed earlier :-)
Sorry for the waste of time.
no problem, I did
Bonjour Andreas Bregas
Message du 2006-06-27 12:51:
You're right, but after my fix of i66765 the only problem I
still see is how hyper/int64 can be declared and how the cor-
responding literals can be handled (i66770).
Suggestion : use the unofficial Basic type Decimal to convert from/to
hype
Hi Andreas,
Alle 10:32, martedì 27 giugno 2006, Andreas Bregas ha scritto:
> Hi Paolo,
>
> sorry, I did not discover this thread and after a colleague
> told me about it yesterday, we had severe mail problems.
>
>
> I think we have to split this problem.
>
> 1. hyper as return type:
>
> This is n
Hi Jürgen,
it seems that we have to find a better solution for hyper in Basic
because hyper is a valid type in our API and in fact of this we should
extend the typeset of Basic at least to support all the simple base
types of our API.
Andreas, what do you think? What would be the best soluti
Hi all,
it seems that we have to find a better solution for hyper in Basic
because hyper is a valid type in our API and in fact of this we should
extend the typeset of Basic at least to support all the simple base
types of our API.
Andreas, what do you think? What would be the best solution
Hi Paolo,
sorry, I did not discover this thread and after a colleague
told me about it yesterday, we had severe mail problems.
I think we have to split this problem.
1. hyper as return type:
This is no problem. In your example:
...
oInputStream.setInputStream(oFile.getInputStream())
' print
Bonjour Paolo Mantovani
Message du 2006-06-19 02:23:
oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess")
oFile = oUcb.OpenFileReadWrite("file:///home/paolo/img.png")
oInputStream = createUnoService("com.sun.star.io.DataInputStream")
oInputStream.setInputStream(oFile.getInputStream())
' p
Hi Laurent,
Alle 14:54, venerdì 23 giugno 2006, Laurent Godard ha scritto:
> Hi
>
> > Meanwhile I encountered that you can't have/use a number that is
> > outside int32 range but still inside the int64 range, for example
> > Sub hyper
> > x = CreateUnoValue("hyper", 9223372036854775806)
> > End Su
Hi Christian,
Alle 14:27, venerdì 23 giugno 2006, Christian Junker ha scritto:
> Meanwhile I encountered that you can't have/use a number that is
> outside int32 range but still inside the int64 range, for example
> Sub hyper
> x = CreateUnoValue("hyper", 9223372036854775806)
> End Sub
>
> will g
Hi
Meanwhile I encountered that you can't have/use a number that is
outside int32 range but still inside the int64 range, for example
Sub hyper
x = CreateUnoValue("hyper", 9223372036854775806)
End Sub
will give an error, yet the numeric constant is still inside the range
a variable of type hype
Meanwhile I encountered that you can't have/use a number that is
outside int32 range but still inside the int64 range, for example
Sub hyper
x = CreateUnoValue("hyper", 9223372036854775806)
End Sub
will give an error, yet the numeric constant is still inside the range
a variable of type hyper can
Hi Andrew,
Alle 07:06, mercoledì 21 giugno 2006, Andrew Douglas Pitonyak ha scritto:
[]
> >I only want to add that using CreateUnoValue is a workaround if you have
> > to pass an hyper to an API method, but does not helps when you must get
> > an hyper.
> >
> >I've also tried with the css.scri
Paolo Mantovani wrote:
Hi Christian,
sorry for my previous message.
Alle 09:20, martedì 20 giugno 2006, Christian Junker ha scritto:
Hi Paolo,
I have the same problems as you have here.
I guess there is no other way than using CreateUnoValue.
[...]
2) using CreateUnoValue might b
Hi Christian,
sorry for my previous message.
Alle 09:20, martedì 20 giugno 2006, Christian Junker ha scritto:
> Hi Paolo,
> I have the same problems as you have here.
> I guess there is no other way than using CreateUnoValue.
[...]
> 2) using CreateUnoValue might be too difficult for some to see
Alle 09:20, martedì 20 giugno 2006, Christian Junker ha scritto:
> Hi Paolo,
> I have the same problems as you have here.
> I guess there is no other way than using CreateUnoValue.
>
> There are two things I want to comment on at this time:
> 1) numeric constants like 5 should raise *no* errors whe
Hi Paolo,
I have the same problems as you have here.
I guess there is no other way than using CreateUnoValue.
There are two things I want to comment on at this time:
1) numeric constants like 5 should raise *no* errors when being passed
to functions that expect arguments of UNO type 'hyper'. It c
Hi all,
as from subject:
how does it is mapped the "hyper" UNO type in StarBasic?
The question is because I ever had problems in basic when working with
css.io.XSeekable methods (that takes or gets hyper values)
Example:
REM * BASIC *
Sub TestUCB
oUcb = createUnoService("com.sun.s
21 matches
Mail list logo