Jump to content

Read Textfiles With Strings


rdg

Recommended Posts

Hello,

sibarrick pointed me at CHOPS to read textfiles containing strings.

But there is still something missing:

I can read *.chan files containing numbers and get them into a fontSOP with

`chopf ("/ch/ch1/file1/chan0", $F)`

If the file contains text like "abc" this doesn't work.

I tried chopstr, too.

The phonemeCHOP looked promising. But I coudn't get the text into my fontSOP.

I also think about numbered textfiles with only one string - maybe I could then

`system("cat myfile" + $F + ".txt")` in the text field of the fontSOP?

But where does system start in a win32 environment looking for files?

Can win32 cat? (No, I dont want to install linux.)

A chls told me that text isn't a channel of the fontSOP, so I cannot use chread?

I guess I need some VEX/VOP(?) network reading the textfile and a much more knowledge about this. I will keep trying.

I want to change the text over time based on a textfile.

Maybe someone could offer me another hint?

thank you.

Georg

Link to comment
Share on other sites

:notworthy:

Good things come to those who wait?

A miss is as good as a mile.

In my case [path_to_python]python.exe caused an 16-bit exception and [path_to_python]python2.4 .exe works ...

I am soo happy.

Georg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...