Quantcast
Channel: elitepvpers
Viewing all articles
Browse latest Browse all 31591

Autoit Funktion Variabel zuweisen.

$
0
0
Hallo,
kann ich einer Funktion wie IniWrite einer Variablen zuweisen, welche über BinarytoString erstellt wird?

So geht es ohne Probleme:
PHP Code:

$var=IniWrite
$var 
("info.txt""Update ..... ) 

Aber hier nicht mehr ($var1 ergibt "IniWrite"):
PHP Code:

$var1 binarytostring("0x496E695772697465",    $SB_UTF8)
$var1 ("info.txt""Update ..... ) 

Ergibt leider:
Quote:

Variable cannot be accessed in this manner
Vllt. über Umwege mit Assign? Bei Zahlen hab ich ein ähnliches Problem bemerkt, konnte es aber mit round beheben.

Ich denke, dass das Ergebnis für das Programm etwas anderes ist als das Wort an sich. Ähnliches hab ich hier festgestellt:

Wenn ich "x" durch BitXor berechnen lasse und es dann durch das x von
binarytostring(0x0000) ersetzte, kommt etwas falsches raus. Füge ich das noch hinzu funktioniert es wieder:
PHP Code:

if $asdad "x" Then
   $asdad 
"x"
   
endif 

Komisch???

Viewing all articles
Browse latest Browse all 31591

Trending Articles