Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Multiple line variable to ini-file
PostPosted: May 26th, 2009, 5:44 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
If the variable created in multiple line text input form write to the ini-file, it write this line: inputs=111square2222square3333square4444, where digit is my value of variable and square is speƱial symbol in the form of a rectangle.
When i try to get the expression of the variable is only reads the first line.
Tell me how to solve the problem, please?

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: May 26th, 2009, 5:50 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
O :oops: Sorry.
I am bad pathfinder:)
viewtopic.php?t=2725&highlight=inifile

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: May 26th, 2009, 6:34 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
It is still not decided ...
In the example above, the line is pipe symbol "|". But in my ini-file that is not. Instead, there is the rectangle (see attachment). I cannot insert this symbol via copy/paste in the script, because as soon move to a new line script, and insert nothing.


You do not have the required permissions to view the files attached to this post.

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: May 27th, 2009, 9:16 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi V,

The little rectangle is simply there because the program you are using cannot display the necessary character.

You need to get a hex editor and open the file in that. You will then be able to find the ASCII code for the character and you can use Opus' charCode functions to read, write and convert these codes.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: May 27th, 2009, 5:48 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
Hi Mack. Thank you.

Indeed, the problem was not in the rectangle. For some reason, the script specified on the link above, works only with function GetINISectionData, but not with GetINIFileData. This is slightly harder task.

_________________
Opus Pro 5.5
Win XP


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 55 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