Current Jackpots and Winning Numbers
Jackpot alerts
  • Mega Millions
  • Estimated Jackpot
  • $215,000,000
  • Next Drawing: Fri, May 8th
  • Powerball
  • Estimated Jackpot
  • $47,000,000
  • Next Drawing: Sat, May 9th
  • Hoosier Lotto
  • Estimated Jackpot
  • $21,700,000
  • Next Drawing: Sat, May 9th
  • CA$H 5
  • Estimated Jackpot
  • $216,000
  • Next Drawing: Fri, May 8th
Latest Winning Numbers
  • Powerball
    • 18
    • 27
    • 51
    • 65
    • 68
    • 05
  • Power Play: 3x
  • Next Drawing: Sat, May 9th
  • CA$H 5
    • 33
    • 36
    • 37
    • 39
    • 41
  • Next Drawing: Fri, May 8th

Hoosier Lottery App

Your lottery. Anytime. Anywhere. With the official Hoosier Lottery app, you'll have everything you love about the Hoosier Lottery in the palm of your hand.

code4bin delphi top

Explore Top Features

Ticket Scanner

Use the Hoosier Lottery app to scan and check Draw, Scratch-off, and Fast Play game tickets and enter my2ndChance promotions.

  1. Click “Check Your Ticket” in the menu
  2. Click “Scan ticket code now”
  3. Get instant results!
  4. Not a winner? myLOTTERY members can enter eligible non-winning tickets into my2ndChance drawings with just two additional clicks.
Create a myLOTTERY Account
 
Hoosier Lottery Stackable Features Image

myPlayslip

Create and save playslips for your favorite Draw games.
  1. Choose your game
  2. Pick your numbers and playing options
  3. Save your numbers
  4. Get your myPlayslip scanned at your favorite lottery retailer
Hoosier Lottery Stackable Features Image

Code4bin — Delphi Top

Maximizing Performance: Delphi Code Optimization with Code4Bin

Conclusion

"Code 4"

While "code4bin" is not a standard, widely recognized term in the official Delphi documentation, it is highly likely you are referring to in the context of Binary File Handling (reading/writing binary data) or a specific Base64 Binary Encoding technique often discussed in Delphi forums and tutorials (sometimes stylized as "code4bin" in snippets). code4bin delphi top

The "top" codebases often move away from the "everything in the Form" anti-pattern. They utilize frameworks like to handle: Dependency Injection: Decoupling logic for easier unit testing. Collections: Collections: Remember: procedure HexDump(Data: PByte

Remember:

procedure HexDump(Data: PByte; Size: Integer; BytesPerLine: Integer = 16); var i, j: Integer; HexLine, AsciiLine: string; begin for i := 0 to (Size - 1) div BytesPerLine do begin HexLine := Format('%.8x: ', [i * BytesPerLine]); AsciiLine := ''; for j := 0 to BytesPerLine - 1 do begin if (i * BytesPerLine + j) < Size then begin HexLine := HexLine + Format('%.2x ', [Data[i * BytesPerLine + j]]); if (Data[i * BytesPerLine + j] >= 32) and (Data[i * BytesPerLine + j] <= 126) then AsciiLine := AsciiLine + Char(Data[i * BytesPerLine + j]) else AsciiLine := AsciiLine + '.'; end else begin HexLine := HexLine + ' '; AsciiLine := AsciiLine + ' '; end; end; WriteLn(HexLine + ' ' + AsciiLine); end; end; BytesPerLine: Integer = 16)

Take your game to the next level

Pair your myLOTTERY account with the app and get the most out of your game.

Hoosier Lottery Next Level Left ImageUse the app ticket scanner to check your tickets and enter 2nd Chance promotions in a snap.
Hoosier Lottery Next Level Middle ImageSave time and paper playslips by building your digital playslip on the Hoosier Lottery App.
Get Push Notifications

Customize push notifications to receive jackpot and winning numbers alerts. 

Also, opt-in to get notifications on location-based offers when you are near a participating Hoosier Lottery Retailer.

Apple App Store Icon
Google Play Icon