Oxygen Basic
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest OxygenBasic.zip at GitHub
(Click on the Wizard)
Home
Help
Search
Login
Register
Oxygen Basic
»
Information
»
Open Forum
»
simple qt: how to load text file?
« previous
next »
Print
Pages: [
1
]
Author
Topic: simple qt: how to load text file? (Read 1672 times)
0 Members and 1 Guest are viewing this topic.
Frankolinox
Guest
simple qt: how to load text file?
«
on:
April 29, 2013, 05:10:34 AM »
ok, I haven't find here an example at board, but how I can load a simple text file "test.txt" with oxygen? "getfile" ?
frank
Logged
Charles Pegge
Guest
Re: simple qt: how to load text file?
«
Reply #1 on:
April 29, 2013, 05:45:47 AM »
Hi Frank, there are two forms of getfile:
string s
s=getfile "t.txt"
getfile "t.txt,s
To save files:
putfile "t.txt",s
I'm thinking about extending these with optional params for offset and length
Logged
Print
Pages: [
1
]
« previous
next »
Oxygen Basic
»
Information
»
Open Forum
»
simple qt: how to load text file?