-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Import Text File content in an Array
Home > Community > Automation and VBA > Import Text File content in an Array
- This topic has 2 replies, 2 voices, and was last updated 10 years, 10 months ago by HerveM1234.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
February 13, 2014 at 10:58 am #12846HerveM1234Participant
Hi,
Is there an easy way to import the content of a text file in an array variable.
The text file contains strings separated by “CR”.Thanks
RV
February 13, 2014 at 10:58 am #8506HerveM1234ParticipantHi,
Is there an easy way to import the content of a text file in an array variable.
The text file contains strings separated by “CR”.Thanks
RV
February 14, 2014 at 9:29 am #9342Bernhard KantzParticipantReading text file via VBA is no FlexPro Automation specific topic. But you can read such a file using a FPScript formula like
ReadTextFile("D:\\tmp\\example.txt", 0n, 0n, 1n, 1n, FALSE, TYPE_STRING, TRUE, "\n", FALSE)
This expression generates a dataset of strings, each entry representing a line in the text read.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.