We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LDArray extension
#16
Yumda says:

so, if I understand correctly the ldlist is like creating a text file say --- vocablist, and within that file it contain the data or words in this case, am I correct to visualise like this? The trouble for me is that if I can not understand the logic I just could not utilise it. And the indices would be the order of the words in the file...

Am I correct by thinking it like this?

Yumda,

Yes you are correct. It is just lines of text with the indexes in front of them. Here is a code snippet to see how it works.

filepath="c:\temp\myfolder\myfile.txt"
name="myList"
LDList.Add(name,"Dog")
LDList.Add(name,"cat")
LDList.Add(name,"Rat")
LDList.Print(name)
LDList.write(name,filepath,"False")

'Then look in the filepath and you will see your list as a .txt file

I hope this helps!

JR
[-] The following 1 user Likes jrmrhrb00's post:
  • litdev
Reply


Messages In This Thread
LDArray extension - by Yumda - 11-17-2024, 10:05 PM
RE: LDArray extension - by litdev - 11-17-2024, 11:20 PM
RE: LDArray extension - by Yumda - 11-18-2024, 01:34 AM
RE: LDArray extension - by z-s - 11-18-2024, 04:36 AM
RE: LDArray extension - by AbsoluteBeginner - 11-18-2024, 09:17 AM
RE: LDArray extension - by Yumda - 11-18-2024, 11:23 PM
RE: LDArray extension - by AbsoluteBeginner - 11-19-2024, 06:54 AM
RE: LDArray extension - by AbsoluteBeginner - 11-19-2024, 07:24 AM
RE: LDArray extension - by AbsoluteBeginner - 11-19-2024, 09:56 AM
RE: LDArray extension - by Yumda - 11-19-2024, 01:30 PM
RE: LDArray extension - by litdev - 11-19-2024, 01:53 PM
RE: LDArray extension - by AbsoluteBeginner - 11-19-2024, 05:16 PM
RE: LDArray extension - by Yumda - 11-20-2024, 01:22 AM
RE: LDArray extension - by litdev - 11-20-2024, 07:40 AM
RE: LDArray extension - by AbsoluteBeginner - 11-20-2024, 07:57 AM
RE: LDArray extension - by jrmrhrb00 - 11-20-2024, 02:23 PM
RE: LDArray extension - by Yumda - 11-21-2024, 12:22 AM
RE: LDArray extension - by AbsoluteBeginner - 11-21-2024, 06:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)