Page 2 of 2
Re: annoying invisible problems
Posted: 14 Jul 2011 21:38
by CodeLobster
asc()
Returns the ASCII value of a character. This function complements chr().
Syntax
asc(string)
string: character
If string is larger than one character the first character is used.
this may be the reason why i cant track down the annoying characters.
any improvement or work around can be made on this please?
Re: annoying invisible problems
Posted: 14 Jul 2011 22:08
by Stefan
CodeLobster wrote:asc()
Returns the ASCII value of a character. This function complements chr().
Syntax
asc(string)
string: character
If string is larger than one character the first character is used.
this may be the reason why i cant track down the annoying characters.
any improvement or work around can be made on this please?
For Each Char In Chars Do
{
$ASC = asc(Char)
}
For an example see last example in
Scripting for beginners... > Do something for each item
Re: annoying invisible problems
Posted: 14 Jul 2011 22:15
by CodeLobster
but then it returns individual values that will NOT match the whole character, stefan!
can you please try to feed me on how youd do on the actual sample i posted?
thanks.
Re: annoying invisible problems
Posted: 14 Jul 2011 22:23
by TheQwerty
Why not use writeFile and the Raw preview?
Code: Select all
writefile('test.txt',"<crlf>",'o','b');
Re: annoying invisible problems
Posted: 14 Jul 2011 22:30
by CodeLobster
TheQwerty wrote:Why not use writeFile and the Raw preview?
Code: Select all
writefile('test.txt',"<crlf>",'o','b');
great tip.
Code: Select all
00000000: 22 0D 0A 20 20 20 0D 0A 22 ; ".. .."
but how to match that in a way script command
replace replaces it for anything else?
sorry but i tried everything, this was my first post in this forum = reason why i entered it and im still lost in the woods. hope admins dont think im plainly hammering on this as its needed for my work.