Aklımda Kalası Kelimeler

* давайте работать вместе
* Zarf ve Mazruf, Zerafet(xHoyratlık) ile aynı kökten(za-ra-fe) gelir
* Bedesten
* Suç subuta ermiştir - Suç sabit olmuştur
JScript etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
JScript etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

16 Nisan 2015 Perşembe

JScript dosyalarınızı nasıl çalıştırırsınız?

JScript kodlarını derlemek için:
PATH ortamına dizini ekleyeceksiniz ki jsc derlenecekDosyaAdi.js dediğinizde jsc.exe dosyasını leb demeden bulsun sisteminiz.
  1. Use the Windows search feature to find jsc.exe on your drive. The exact name of the directory where jsc.exe is located depends on the name and location of the Windows directory and the version of the .NET Framework that is installed. If you have more than one version of the .NET Framework installed, you must determine which version to use (typically the latest version).
    For example, the compiler might be located at C:\Windows\Microsoft.NET\Framework\v2.0.50727.
  2. To display the System Information dialog box, right-click Computer or My Computer on the desktop, and then click Properties.
  3. If you are using Windows Vista or Windows 7, click Advanced System settings in the resulting Control Panel window.
  4. On the Advanced tab of the System Properties dialog box, click the Environment Variables button.
  5. Under System variables, select Path from the list and click Edit.
  6. In the Edit System Variable dialog box, move the cursor to the end of the string in the Variable Value box and type a semicolon (;) followed by the full directory name that you found in Step 1.
    For example, if the compiler is at the location specified in the example in Step 1, you would type the following:
    ;C:\Windows\Microsoft.NET\Framework\v2.0.50727
  7. Click OK to confirm your edits and close the dialog boxes.
  8. Open a new command prompt.

Yukarıda size .Net Framework 2.0 için yol göstermiş ama bende 4 versiyonu için yolu ve aradığımız jsc.exe dosyasını göstereyim. Böylece kimse bir daha PATH ne iş yapara Environment Variables ne iş yapar diye düşünmesin ;)

Kodumuz şu olsun:
print("Bu yazı bir exeden çıkacak");
Çıktımız ise şu: