外部変形は データのやり取りをテキストファイルで行うので プログラム言語は 自由に選ぶことができます。図形は機能的かつシンプルなため、数多くのユーザーに受け入れられています。
:gccで環境変数を使う
@echo off
if not exist %~dpn0.exe (
for /f "delims=:" %%n in ('findstr /n "^#!" %0') do (
more +%%n %0 > %~dpn0.c
gcc -Os %~dpn0.c -o %~dpn0.exe -s
)
)
set str=ようこそ ありがとう
%~dpn0 > jwc_temp.txt
goto:eof
REM #jww
REM #e
#!この次の行からプログラムを書いてください
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("h#str=%s\n", getenv("str"));
return 0;
}