Sign in to follow this  
Followers 0
Matthy

how to let him write " with the funcion FileWrite

4 posts in this topic

#1 ·  Posted (edited)

i would want this program to write an file in a text file a peace of basic code with some values chanced

Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q)

i think evrything is posible but i cant use an " in the function i want to write so when i try this

FileWrite($file, "Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q)" )

ist getting really messed up by the " signs does anyone know here an way to still write a sign like this

thx

Matthy

Edited by Matthy

Share this post


Link to post
Share on other sites



alread got something :ph34r:

$a = FileRead("sign.dat", 1)
FileWrite($file, "Menu(" & $a )

if anyone does know something better plz say it cause this is quite messy :lmao:

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

If using ' for strings, you can use as many " as you want to. :lmao:

FileWrite($file, 'Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q)')oÝ÷ ØçÜ¢êìzØb²+Ê)¢Ë"nWºÚ"µÍ[]J   ÌÍÙ[K    ][ÝÓY[J   ÌÎNÝÙ[ÙHÙYÙ][ÈXIÌÎNË ÌÎNÙÜÙH
ÈZ]ÌÎNËK    ÌÎNÝZ]
ÈYÛÛÌÎNËPË   ÌÎNÝYÛÛ
ÈÜÙIÌÎNËÑ    ÌÎNÔÝÜ[ÌÌÎÉÌÎNËJI][ÝÊ
Edited by gosu

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

ow thx dident know that but im abit furder now and im now using input values so it is proberly harder then yust look

FileWrite($file, "ClrHome" & @CRLF )
            FileWrite($file, "Output(1,1," & $a & "X=" & $ltr1 & $bij1C & "/"& $ltr2 & $bij2C & "=" & $ltr3 & $bij3C & @CRLF)
            FileWrite($file, "Output(3,1," & $ltr1 & $bij1C & ")" & @CRLF )
            FileWrite($file, "Output(4,1," & $a & "----------" & $a & ")" & @CRLF )
            FileWrite($file, "Output(5,1," & $ltr2 & $bij2C & ")" & @CRLF & @CRLF )
            
            FileWrite($file, "Output(7,1," & $a & "=" & $a & ")" & @CRLF )
            FileWrite($file, "Output(7,1," & $ltr3 & ")" & @CRLF & @CRLF )

and then you get something like this

ClrHome
Output(1,1,"X=A*2/B^2=C)
Output(3,1,A*2)
Output(4,1,"----------")
Output(5,1,B^2)

Output(7,1,"=")
Output(7,1,C)

omg i love autoit :lmao:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0