Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Unsigned integer 64...

 Post Reply Post Reply
Author
Drake Mark View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 Jan 2011
Posts: 117
Post Options Post Options   Quote Drake Mark Quote  Post ReplyReply Direct Link To This Post Topic: Unsigned integer 64...
    Posted: 19 May 2019 at 6:06pm
Hello,

Is unsigned integer 64 supported?
For example, I see GetInputArgAsInt64 but not a function for unsigned. Looking at code that uses vtInt64 I do not see code for unsigned 64.

Mark



Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2270
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2019 at 1:04pm
There is no explicit support for UInt64, indeed. 
Back to Top
Drake Mark View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 Jan 2011
Posts: 117
Post Options Post Options   Quote Drake Mark Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2019 at 3:47pm
Thanks for the response.
Is adding support for unsigned 64 bit on the to do list?

Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2270
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2019 at 3:57pm
Do you have a specific use/test case sample for UInt64 usage in TMS Scripter?
Back to Top
Drake Mark View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 Jan 2011
Posts: 117
Post Options Post Options   Quote Drake Mark Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2019 at 8:30pm

I have a need for it if that is the question. I need to allow the user to enter a value up to unsigned integer 64 size (18,446,744,073,709,551,615).

if you mean can I generate an error, yes

 high64:=18446744073709551610; //not the largest possible
generates a compile error.

Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2270
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2019 at 3:34pm
Please contact us directly via e-mail for a patch that supports UInt64 literals, like the example you provided. 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down