JustLiberty
« Word Memorizer v1.9 bug »

Welcome Guest. Please Login or Register.
Nov 21st, 2009, 9:35pm




Pages: 1  Reply Notify Send Topic Print
 thread  Author  Topic: Word Memorizer v1.9 bug  (Read 683 times)
techienetwork
Member
ImageImage

member is offline

Avatar

Using the keyblade... to fight the bugs of Programming!


PM

Gender: Male
Posts: 5
xx Word Memorizer v1.9 bug
« Thread started on: Feb 2nd, 2008, 11:20pm »
Quote

[testClicked]
Confirm "Are you ready to test?"; Test$
If Test$ <> "yes" then wait
Let i = 1
For i = 1 to wdcount
wd$(i) = ""
Next i
print #wordMem.display, "reload"
For i = 1 to wdcount
Let wordtest$ = worddef$(1,i)
Let H = i
statictext #wordTest, wordtest$, 10, H, 90, 25
next i
WindowWidth = 500
WindowHeight = ((i * 40) + 20)
UpperLeftX = 200
UpperLeftY = 110
open "Test your knowledge!" for window as #wordTest

close #wordTest
for j = 1 to num
word$ = worddef$(1, j)
def$ = worddef$(2, j)
wd$(j) = "The word " + word$ + " means: " + def$ + "."
next j
print #wordMem.display, "reload"

wait

[/code]

The test function is supposed to show each word and have a textbox to enter the definition(not implemented yet). My problem is:
I wrote a loop to show each word in the window. However, it only shows one word (in the window). Why is this?
Thanks
-techienetwork

P.S. To use:
Before adding words, you have to enter the number of words. If you want to print a list or save a file, you have to give a name for the set of words.

Update: I've deleted all that unnecessary code! If you want a copy of the program, PM me.
« Last Edit: Feb 4th, 2008, 12:44am by techienetwork » User IP Logged

-GAMING FREAKS UNITE-
-COMPUTERS RULE ALL CONSOLES-
Pages: 1  Reply Notify Send Topic Print
« Previous Topic | Next Topic »


New Monthly Ad-Free Plan!

$6.99 Gets 50,000 Ad-Free Pageviews!
| Free Shoutboxes | Hookah |

This Board Hosted For FREE By Conforums ©
Get Your Own Free Message Board!