Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 4:53 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Write variables to a text file
PostPosted: September 8th, 2006, 2:09 pm 
Offline

Joined: July 21st, 2005, 12:04 pm
Posts: 3
I am trying to develop a little utility to encrypt text from an input form into a text file
I present text input fields to the user and each field is stored into variables
I want the pgm to store the variables into a text file, with encryption

Opus only let me write fixed text into a file, not the content of a variable

Does anyone know how to do that?
Thanks a lot


For this message levelfr has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: September 8th, 2006, 6:11 pm 
Offline

Joined: July 21st, 2005, 12:04 pm
Posts: 3
It's ok guys,
I finally found the syntax to use within a script:

var textObj = OpenFile("d:\\folder\\file.txt",overwrite=true)
textObj.WriteLine(my_variable)

It works a marvel!


For this message levelfr has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group