eliteoftheelite
Programmer
hi all,
if i have a file called 'testdata.txt' containing these numbers in the following format:
' 0.1 2.2 4.3 9.6 5.0' for example
how do i create a prolog program to copy the data from the text file 'testdata.txt' into a list called 'NewList' in my prolog program???
many thanks
if i have a file called 'testdata.txt' containing these numbers in the following format:
' 0.1 2.2 4.3 9.6 5.0' for example
how do i create a prolog program to copy the data from the text file 'testdata.txt' into a list called 'NewList' in my prolog program???
many thanks