Ask Your Question

Basic: hyper and unsigned hyper [closed]

asked 2016-12-09 18:07:54 +0200

EasyTrieve gravatar image

updated 2016-12-09 18:16:17 +0200

In Basic for the CreateUnoValue function, what do the types "hyper" and "unsigned hyper" refer to?

I am familiar with the other valid types: void, char, boolean, byte, short, unsigned short, long, unsigned long, float, double, string, type, and any, but hyper is new to me.

At first I thought it might be for "hyperlink", but then what is an "unsigned hyperlink"??

Usage is something like this: CreateUnoValue([type string], [number or array]) e.g.

v = CreateUnoValue("byte", 10) .
v = CreateUnoValue("hyper", ??) .
v = CreateUnoValue("unsigned hyper", ??) .

Please see page 250 of Andrew Pitonyak's book, Macros Explained which makes reference to it.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-16 14:26:03.427086

2 Answers

Sort by » oldest newest most voted

answered 2016-12-09 18:33:06 +0200

peterwt gravatar image

Microsoft defines hyper - "The keyword hyper indicates a 64-bit integer that can be declared as either signed or unsigned."

edit flag offensive delete link more

answered 2016-12-09 18:35:03 +0200

Ratslinger gravatar image

hyper is a 64-bit integer type and it appears it isn't available in "Basic" - see this page.

edit flag offensive delete link more



How paltry is that, Integers limited to maxsize 2^64-1 →→ 18446744073709551615

karolus gravatar imagekarolus ( 2016-12-10 00:11:32 +0200 )edit

Makes you want to quit coding.

Ratslinger gravatar imageRatslinger ( 2016-12-10 01:14:09 +0200 )edit

Question Tools

1 follower


Asked: 2016-12-09 18:07:54 +0200

Seen: 125 times

Last updated: Dec 09 '16