Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5983663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:15:48+00:00 2026-05-22T22:15:48+00:00

Readng the documentation for a point of sale system, here is the example they

  • 0

Readng the documentation for a point of sale system, here is the example they give for a mask that is supposed to tell you what seats are selected. I can’t figure this out. I completely understand bit masking. Is this example just wrong?

Function

This system variable is an eight character string that contains the seat filter mask.

Type/Size

A8

Syntax

@Filter_mask

Filter_mask Usage

This system variable is Read-Only.

Filter_mask Example

The following is an example of a filter mask:

80000000 - seat 1 is active (@filter_active ="Y")
00000001 - seat 32 is active (@filter_active = "Y")
50A00000 - seats 2,4,9 and 11 are active (@filter_active = "Y")
00000000 - filter inactive, no seats
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:15:48+00:00Added an answer on May 22, 2026 at 10:15 pm

    These are 8-digit hexadecimal numbers, which can store as much as a 32-digit binary number.

    (16^8 = 2^32 = 4,294,967,296)

    In a binary representation, each digit corresponds to a seat:

       hex               binary
    80000000 = 10000000000000000000000000000000
    00000001 = 00000000000000000000000000000001
    50a00000 = 01010000101000000000000000000000
    00000000 = 00000000000000000000000000000000
    

    The first binary bit is for seat #1, and the last is for seat #32. Since they’re giving you an 8-character string, you’ll probably want to parse it into a 32-bit value to do the masking arithmetic. Look for “hex string to integer” in your target language and you’ll find something like:

    Convert hex string to int in Python

    Note: Google can do base conversions off the cuff for you when you’re looking at things like this, such as (“0x50a00000 in binary”), but Wolfram Alpha does a bit more:

    http://www.wolframalpha.com/examples/NumberBases.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Reading the documentation it seems this might not be possible, but it seems that
I'm reading this documentation article about Custom Annotations in Doctrine . I understand that
Can anyone point me to the documentation of the html Event object? Bonus Reading
I know from reading Microsoft documentation that the "primary" use of the IDisposable interface
I'm new in iPhone development and after reading Apple documentation and several posts here
I really did try Google and jQuery documentation for this and I give up.
SQL Sever 2000 documentation : Is a floating point number data with the following
I've been reading the documentation which at a point says This dialog will request
Reading MT documentation, I've seen that it is possible to release memory also implementing
I was reading the documentation for MongoDB here and I found it really interesting.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.