Accueil > Community > FPScript > ReadTextFile to import > Reply To: ReadTextFile to import

#8837
Bernhard KantzBernhard Kantz
Participant

Use the Text Data Import Wizard to import your file.
1)Choose
– Create links
– Import as signals
2) Method: Automatic
3) Several columns, seperated with TAB; Decimal Character: Point
4) Line with names: 1; Column with X-values: 1

The result is a text data link object. You can convert the data link object into a formula. Open the context menu (right mouse click) and choose Convert into formula.

The result is a FPScript formula:


Signal( ReadTextFile("C:\tmp\test.txt", 2, 0, 2, 2, FALSE, _
TYPE_FLOATINGPOINT64, FALSE, " 	", FALSE), _
ReadTextFile("C:\tmp\test.txt", 2, 0, 1, 1, FALSE, _ 
TYPE_FLOATINGPOINT64, FALSE, " 	", FALSE)) 

See also:
FlexPro Online Help
ReadTextFile Function

Support@weisang.com