Print Page | Close Window

Unsigned integer 64...

Printed From: TMS Software
Category: Business Tools
Forum Name: Scripter
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=13440
Printed Date: 21 Oct 2019 at 1:35am


Topic: Unsigned integer 64...
Posted By: Drake Mark
Subject: Unsigned integer 64...
Date 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






Replies:
Posted By: Wagner R. Landgraf
Date Posted: 20 May 2019 at 1:04pm
There is no explicit support for UInt64, indeed. 


Posted By: Drake Mark
Date Posted: 20 May 2019 at 3:47pm
Thanks for the response.
Is adding support for unsigned 64 bit on the to do list?



Posted By: Wagner R. Landgraf
Date Posted: 20 May 2019 at 3:57pm
Do you have a specific use/test case sample for UInt64 usage in TMS Scripter?


Posted By: Drake Mark
Date 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.



Posted By: Wagner R. Landgraf
Date 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. 



Print Page | Close Window