Konstanten Include

  • Warscheinlich haste noch nicht mitbekommen das dass Komma in AutoIt ein . ist.
    So funzts richtig

    Spoiler anzeigen
    [autoit]

    #include-once
    ; Mathematische Konstanten
    Global Const $pi = 3.14159265358979323846
    Global Const $goldener_schnitt = 1.61803398874989484820
    Global Const $eulerische_zahl = 2.71828182845904523536
    Global Const $Euler_Mascheroni_Konstante = 0.57721566490153286060
    Global Const $Apery_Konstante = 1.20205690315959428539
    Global Const $Lemniskatische_Konstante = 2.62205755429211981046
    Global Const $Catalansche_Konstante = 0.91596559417721901505
    Global Const $Meissel_Mertens_Konstante = 0.26149721284764278375
    Global Const $Glaisher_Kinkelin_Konstante = 1.28242712910062263687
    Global Const $Cahen_Konstante = 0.64341054628833802618
    Global Const $Sierpinski_Konstante = 2.58498175957925321706
    Global Const $Landau_Ramanujan_Konstante = 0.76422365358922066299
    Global Const $Gieseking_Konstante = 1.01494160640965362502
    Global Const $Bernstein_Konstante = 0.28016949902386913303
    Global Const $Brunsche_Konstante = 1.90216058
    Global Const $Primzahlzwillingskonstante = 0.66016181584686957392
    Global Const $Golomb_Dickman_Konstante = 0.62432998854355087099
    Global Const $Chintschin_Konstante = 2.68545200106530644530
    Global Const $Chintschin_Levy_Konstante = 1.18656911041562545282
    Global Const $Mills_Konstante = 1.30637788386308069046
    Global Const $Erdos_Borwein_Konstante = 1.60669515241529176378
    Global Const $Liebs_Eiswuerfelkonstante = 1.53960071783900203869
    Global Const $Niven_Konstante = 1.70521114010536776428
    Global Const $Gauss_Kusmin_Wirsing_Konstante = 0.30366300289873265859
    Global Const $Porter_Konstante = 1.46707807943397547289
    Global Const $Chaitinsche_Konstante = 0.0078749969978123844
    Global Const $Alladi_Grinstead_Konstante = 0.80939402054063913071
    Global Const $1_Feigenbaum_Konstante = 4.66920160910299067185
    Global Const $2_Feigenbaum_Konstante = 2.50290787509589282228
    Global Const $Fransen_Robinson_Konstante = 2.80777024202851936522
    Global Const $Lengyel_Konstante= 1.09868580552518701
    Global Const $Hafner_Sarnak_McCurley_Konstante= 0.35323637185499598454
    Global Const $Backhouse_Konstante = 1.45607494858268967139
    Global Const $Viswanath_Konstante= 1.13198 82487 943
    Global Const $Embree_Trefethen_Konstante= 0.70258

    [/autoit]

    Lässt sich sogar mit nur einer Zeile umbauen

    [autoit]

    FileWrite(@ScriptDir & "\konstanten_.au3",StringReplace(FileRead(@ScriptDir & "\konstanten.au3"),",","."))

    [/autoit]