Jump to content

search in a file


Recommended Posts

can you please help me, I dont know to make these

Look:

___________________________test.txt

cat

dog

mouse <====This is the file test.txt

horse

tiger

________________________________

....

.....

select

case $button

$getline = read the file test.txt and get the line which the word horse is writing

guictrlsetdata($input,$getline)

endselect

.....

....

can you give me please a simple example

Edited by TheBobynator
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...