Maybe it just wants to save the source?
BTW you should not write
Data 1,computer,1000
Data 2,dvdplayer,50
instead write
Data 1,"computer",1000
Data 2,"dvdplayer",50
you really shouldn't make this more complicated than it has to be.
Did you consider to use simple arrays instead?
Here's an example:
num=47
dim product$(num)
dim price#(num)
restore items
for i=1 to num
read dummy
read product$(i)
read price#(i)
next
money#=1000.0
while upper$(in$)<>"EXIT"
print "(Enter EXIT to finish)"
in$=input$("please enter product name")
for i=1 to num
if upper$(in$) = upper$(product$(i)) ; product name found?
print "Product "+ product$(i)+" costs "+price#(i)
if money# >= price#(i) then
money#=money#-price#(i)
print "you have bought one. Now you still have "+ money# +" Dollars"
else
print "You haven't got enough money to buy this."
endif
else
print "The product name you entered was not found in the database. Please try again"
endif
next
wend
end
.Items
Data 1,"computer",1000
Data 2,"dvdplayer",50
Data 3,"dvd",100
Data 4,"cddrive",10
Data 5,"cdrewriter",30
Data 6,"scanner",50
Data 7,"Mic",10
Data 8,"printer",100
Data 9,"netcard",10
Data 10,"nethub",50
Data 11,"netcable",5
Data 12,"modem",30
Data 13,"adslmodem",50
Data 14,"vr",10000
Data 15,"cad",100
Data 16,"buidings",50000
Data 17,"buildingm",100000
Data 18,"buildingL",200000
Data 19,"light",10
Data 20,"digicamlow",100
Data 21,"digicamhigh",300
Data 22,"digivid",500
Data 23,"webcam",100
Data 24,"laptop",1500
Data 25,"floppy",5
Data 26,"clock",5
Data 27,"chair",100
Data 28,"fillingcab",200
Data 29,"tvsmall",100
Data 30,"tvlarge",400
Data 31,"shelves",50
Data 32,"paper",5
Data 33,"pen",2
Data 34,"picture",30
Data 35,"Displaycase",400
Data 36,"dsiaplaycaserotate",1000
Data 37,"sterob",100
Data 38,"sterog",1000
Data 39,"cashreg",200
Data 40,"photocopier",1000
Data 41,"phone",20
Data 42,"tablel",100
Data 43,"tables",50
Data 44,"drinkmachine",2000
Data 45,"changinroom",5000
Data 46,"buglaralarm",100
Data 47,"Desk",200