<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://air.imag.fr/index.php?action=history&amp;feed=atom&amp;title=D%C3%A9veloppement_BasicCard%2FGamblingCard%2FGAMBLING.DEF</id>
	<title>Développement BasicCard/GamblingCard/GAMBLING.DEF - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://air.imag.fr/index.php?action=history&amp;feed=atom&amp;title=D%C3%A9veloppement_BasicCard%2FGamblingCard%2FGAMBLING.DEF"/>
	<link rel="alternate" type="text/html" href="https://air.imag.fr/index.php?title=D%C3%A9veloppement_BasicCard/GamblingCard/GAMBLING.DEF&amp;action=history"/>
	<updated>2026-06-19T22:59:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://air.imag.fr/index.php?title=D%C3%A9veloppement_BasicCard/GamblingCard/GAMBLING.DEF&amp;diff=19752&amp;oldid=prev</id>
		<title>Donsez at 13:57, 3 December 2014</title>
		<link rel="alternate" type="text/html" href="https://air.imag.fr/index.php?title=D%C3%A9veloppement_BasicCard/GamblingCard/GAMBLING.DEF&amp;diff=19752&amp;oldid=prev"/>
		<updated>2014-12-03T13:57:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:57, 3 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&quot;blitzbasic&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rem Gambling BasicCard Source Code&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rem Gambling BasicCard Source Code&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rem ------------------------------------------------------------------&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rem ------------------------------------------------------------------&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const MaxPINErrors     = 3 &#039; Allow the user three unsuccessful attempts&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const MaxPINErrors     = 3 &#039; Allow the user three unsuccessful attempts&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Donsez</name></author>
	</entry>
	<entry>
		<id>https://air.imag.fr/index.php?title=D%C3%A9veloppement_BasicCard/GamblingCard/GAMBLING.DEF&amp;diff=19750&amp;oldid=prev</id>
		<title>Donsez: Created page with &quot;&lt;pre&gt; Rem Gambling BasicCard Source Code Rem ------------------------------------------------------------------ Rem Copyright (C) 2002 Didier DONSEZ Rem ----------------------...&quot;</title>
		<link rel="alternate" type="text/html" href="https://air.imag.fr/index.php?title=D%C3%A9veloppement_BasicCard/GamblingCard/GAMBLING.DEF&amp;diff=19750&amp;oldid=prev"/>
		<updated>2014-12-03T07:14:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; Rem Gambling BasicCard Source Code Rem ------------------------------------------------------------------ Rem Copyright (C) 2002 Didier DONSEZ Rem ----------------------...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
Rem Gambling BasicCard Source Code&lt;br /&gt;
Rem ------------------------------------------------------------------&lt;br /&gt;
Rem Copyright (C) 2002 Didier DONSEZ&lt;br /&gt;
Rem ------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Rem  GAMBLING CARD&lt;br /&gt;
&lt;br /&gt;
Rem  Commands&lt;br /&gt;
&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H00 PersonaliseCard (Amount As Long, NewPIN As String*4, Name$)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H02 VerifyPIN (TestPIN As String*4)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H04 IncreaseAmount (Diff As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H06 DecreaseAmount (Diff As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H08 ChangePIN (NewPIN As String*4)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H0A GetCardData (Amount As Long, PINCount, Customer$)&lt;br /&gt;
&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H20 GetBalance (Balance As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H22 Debit (Amount As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H24 Credit (Amount As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H26 Bet(betAmount As Long)&lt;br /&gt;
&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H30 SetWinRatio(ratio As Long)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H32 GetWinRatio(ratio As Long)&lt;br /&gt;
&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H34 GetBounds(numbounds@, bound0&amp;amp;,bound1&amp;amp;,bound2&amp;amp;,bound3&amp;amp;,bound4&amp;amp;,bound5&amp;amp;,bound6&amp;amp;,bound7&amp;amp;,bound8&amp;amp;,bound9&amp;amp;)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H36 SetBounds(numbounds@, bound0&amp;amp;,bound1&amp;amp;,bound2&amp;amp;,bound3&amp;amp;,bound4&amp;amp;,bound5&amp;amp;,bound6&amp;amp;,bound7&amp;amp;,bound8&amp;amp;,bound9&amp;amp;)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H38 GetWinnings(numwinnings@, winning0&amp;amp;,winning1&amp;amp;,winning2&amp;amp;,winning3&amp;amp;,winning4&amp;amp;,winning5&amp;amp;,winning6&amp;amp;,winning7&amp;amp;,winning8&amp;amp;,winning9&amp;amp;)&lt;br /&gt;
Declare Command &amp;amp;H80 &amp;amp;H3A SetWinnings(numwinnings@, winning0&amp;amp;,winning1&amp;amp;,winning2&amp;amp;,winning3&amp;amp;,winning4&amp;amp;,winning5&amp;amp;,winning6&amp;amp;,winning7&amp;amp;,winning8&amp;amp;,winning9&amp;amp;)&lt;br /&gt;
&lt;br /&gt;
Rem  Status codes. All of these have SW1 = &amp;amp;H6B, to avoid clashes with&lt;br /&gt;
Rem  the built-in status codes (see &amp;quot;1.4.2 Procedure Definitions&amp;quot; in the&lt;br /&gt;
Rem  BasicCard documentation).&lt;br /&gt;
&lt;br /&gt;
Const swNotPersonalised                 = &amp;amp;H6B00&lt;br /&gt;
Const swInsufficientFunds               = &amp;amp;H6B01&lt;br /&gt;
Const swEncryptionRequired              = &amp;amp;H6B02&lt;br /&gt;
Const swIssuingKeyRequired              = &amp;amp;H6B03&lt;br /&gt;
Const swPINRequired                     = &amp;amp;H6B04&lt;br /&gt;
Const swInvalidPIN                      = &amp;amp;H6B05&lt;br /&gt;
Const swPINErrorsExceeded               = &amp;amp;H6B06&lt;br /&gt;
Const swInconsistentBoundsAndWinnings   = &amp;amp;H6B07&lt;br /&gt;
Const swInconsistentWinningRatio        = &amp;amp;H6B08&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rem  Other constants&lt;br /&gt;
&lt;br /&gt;
Const ApplicationName$ = &amp;quot;GAMBLING&amp;quot;&lt;br /&gt;
Const MaxPINErrors     = 3 &amp;#039; Allow the user three unsuccessful attempts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Donsez</name></author>
	</entry>
</feed>