ok
i really need help here. i need a way to load variables from a file.
for example, if i have a file that looks like this:
size=10
weight=25
color=1
how can i load that file into dbpro to define those variables.
ive got it to where i can load it into an array (thanks Xmik) like this:
opendiag$=openDialog("Open FPE"," (*.fpe)|*.fpe")
open to read 1,opendiag$
dim file() as string
array insert at bottom file(0)
read string 1,file(0)
while file end(1)=0
array insert at bottom file(0)
read string 1,file(array count(file(0)))
endwhile
for x=1 to array count(file(0))
print file(x)
next x
and it prints fine. but, how do i make those values useful?
i thought i would use a memblock, but im not quite sure how.