Jump to content

Recommended Posts

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
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]

Posted

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:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...