The document discusses the Wakanda platform and its key features. Wakanda provides an integrated development environment called Wakanda Studio for building web applications using server-side JavaScript. It includes a database, REST and JSON-RPC APIs, and an AJAX framework. The Wakanda runtime uses the high-performance SquirrelFish Extreme JavaScript engine. Data is stored and accessed using the Wakanda dataStore class and entities.
The document discusses multi-threading concepts including semaphores, workers, and forms. It shows code examples for initializing and clearing a semaphore, calling workers and methods, and lists different versions of Windows, Mac, and other software. The overall content appears to be about asynchronous programming techniques and version histories.
12. LAUNCH EXTERNAL PROCESS
プログラム起動
$path:=System folder(Applications or Program Files)
+"Calculator.app"
$path:=Convert path system to POSIX($path)+/
"Contents/MacOS/Calculator"
LAUNCH EXTERNAL PROCESS($path)
13. LAUNCH EXTERNAL PROCESS
プログラム起動
$path:=System folder(Applications or Program Files)
+"Calculator.app"
$path:=Convert path system to POSIX($path)+/
"Contents/MacOS/Calculator"
LAUNCH EXTERNAL PROCESS($path)
NG!!
22. LAUNCH EXTERNAL PROCESS
エスケープ
$argument:=Convert path system to POSIX($path)
$metacharacters:="!"#$%&'()=~|<>?;*`[] "
For ($i;1;Length($metacharacters))
$metacharacter:=Substring($metacharacters;$i;1)
$argument:=Replace string($argument;$metacharacter;""+
$metacharacter;*)
End for
24. LAUNCH EXTERNAL PROCESS
エスケープ
If ($shoudQuote)
If (Substring($argument;Length($argument))="")
$argument:="""+$argument+"""
Else
$argument:="""+$argument+"""
End if
End if
25. LAUNCH EXTERNAL PROCESS
エスケープ
If ($shoudQuote)
If (Substring($argument;Length($argument))="")
$argument:="""+$argument+"""
Else
$argument:="""+$argument+"""
End if
End if
最後の文字がだった場合(例: パス)
エスケープをエスケープしないようにその文字をエスケープする
51. VBScript
Function GETENV(variableName)
!
! Set objWshShell = WScript.CreateObject("WScript.Shell")
! Set WshSysEnv = objWshShell.Environment("PROCESS")
! GETENV = WshSysEnv(variableName)
! Set objWshShell = Nothing
end Function
環境変数