This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compiled from "test.java" | |
| public class test extends java.lang.Object{ | |
| public test(); | |
| Code: | |
| 0: aload_0 | |
| 1: invokespecial #1; //Method java/lang/Object."<init>":()V | |
| 4: return | |
| public static void main(java.lang.String[]) throws java.lang.Exception; | |
| Code: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Imports System | |
| Class Test | |
| Public Shared Sub Main | |
| Dim hoge As Date | |
| hoge = Nothing | |
| Console.WriteLine(hoge.ToString("yyyy/MM/dd(ddd)")) ' => '0001/01/01(月)' | |
| End Sub | |
| End Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Imports System | |
| Class Test | |
| Public Shared Sub Main | |
| Hoge() | |
| End Sub | |
| Public Shared Function Hoge | |
| Return 0 | |
| Console.WriteLine("abc") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' test.vbs | |
| Set wshell = CreateObject("WScript.Shell") | |
| Set args = WScript.Arguments | |
| For i=0 to args.Count - 1 | |
| wshell.Run "wscript test2.vbs " & args(i), 0, False | |
| Next | |
| 'test2.vbs | |
| Dim val |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Button1押下時のイベントハンドラ | |
| function myFunction(e) { | |
| var app = UiApp.getActiveApplication(); | |
| Browser.msgBox(e.parameter.TextBox1); | |
| return app; | |
| } | |
| //スプレッドシートオープン時 | |
| function onOpen() { | |
| var doc = SpreadsheetApp.getActiveSpreadsheet(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dim excelFileName, excelObj, workbookObj, worksheetObj | |
| ' 引数チェック | |
| If WScript.Arguments.Count <> 1 Then | |
| msgbox "Usage: neatexcel.vbs [Excel FileName]" | |
| WScript.Quit(1) | |
| End If | |
| excelFileName = WScript.Arguments(0) | |
| ' Excel起動 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%@ Language = "VBScript" %> | |
| <html> | |
| <head> | |
| <meta http-equiv = "Content-Type" content = "text/html; charset = Shift_JIS"> | |
| <title>VBScript Ajax Test</title> | |
| <script language = "VBScript"> | |
| Dim xhr | |
| Sub btn1_onclick() | |
| Set xhr = CreateObject("Microsoft.XMLHTTP") | |
| xhr.open "GET", "/test.asp", true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.text.BreakIterator; | |
| public class test | |
| { | |
| public static void main(String[] args) throws Exception | |
| { | |
| BreakIterator bi = BreakIterator.getLineInstance(); | |
| bi.setText("first line.\nsecond line.\nthird line."); | |
| bi.following(36); | |
| //bi.preceding(36); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12760: 情報: =================================================================== | |
| 12760: 情報: OmegaT-2.2.3_2 (Fri Feb 04 21:45:51 JST 2011) Locale ja_JP | |
| 12760: 情報: Java:Apple Inc. 版1.6.0_22 が /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home から実行されました (LOG_STARTUP_INFO) | |
| 12760: 情報: Docking Framework version: 2.1.4 | |
| 12760: 情報: イベント:アプリケーションの起動 (LOG_INFO_EVENT_APPLICATION_STARTUP) | |
| 12760: 情報: メニュー項目 projectOpenMenuItem をクリック (LOG_MENU_CLICK) | |
| 12760: 情報: Source tokenizer: org.omegat.core.matching.Tokenizer | |
| 12760: 情報: Target tokenizer: org.omegat.core.matching.Tokenizer | |
| 12760: 情報: プロジェクト読み込みの開始 | |
| 12760: 情報: Load project source files: 454ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.fileCreate("test.txt", function (writeStream) { | |
| var FILE_IOMODE_FOR_READING = 1; | |
| $.fileOpen("test.wsf", FILE_IOMODE_FOR_READING, function (textStream){ | |
| while(!textStream.AtEndOfStream) { | |
| writeStream.WriteLine(textStream.ReadLine()); | |
| } | |
| }); | |
| }); |