| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: identify an image in |
>
> My question is how I can register which image is opened and should be
> closed again.
>
Can't you declare 2 global variables to hold the index values of the last 2
cards selected? Something like this:
dim n1, n2, count as integer //Global variables
image_click(index)
count = count + 1
if count = 1 then
n1 = index
elseif count = 2 then
n2 = index
elseif count = 3 then
count = 0
*** you need validation code here to check if the images are a
match***
if images don't match then
hide image(n1) and image(n2)
end if
end if
display image(index)
(end of procedure)
This only tackles one of your problems
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com
---
* RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
* RgateImp.MoonDog.BBS at 11/18/04 9:28:40 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.