Skip to Content
Custom Search

What is the Size of S9(18)V99 COMP-3

2 replies [Last post]
Anonymous

 

 

 

What is the size of variable S9(18)V99 COMP-3 
 
Would this give any issues while compiling? 
 
Is S9(18)V99 same as S9(18) ?
 
Interview question
"; ; ; ;
Sponsored Listing
DikDude
Offline
Joined: 12/26/2011
Posts:
COMP-3 Fields Questions

 

 

Would this give any issues while compiling? 

Possibly - Read in the Language Reference manual about the limitations for that compiler. Also check the Options for the compile.

 

Is S9(18)V99 same as S9(18) ?

No. One is 20 digits, the other is 18.

Anonymous
For COMP-3

To uncompress:

If total of all digits is EVEN, then:

18v99 = 20 digits (EVEN)

20 / 2 + 1 = 11 (in storage/file)

 

If total of all digits is ODD, then:

19v99 = 21 digits (ODD)

21 + 1 / 2 = 11 (in storage/file)

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 1 user and 35 guests online.

Online users

  • siteadmin
Dr. Radut | forum