
#SInclude "CompileTest2.fcs"

Function TestFunc( cmd , nData , fData )
{
	Output $cmd $nData;
	speed = $fData;
}

Function AAA
{
	call TestFunc(show,all,0.1234);
}

Function EDITPATH
{
	state = edit_path;
}

Function EDITPOS
{
	state = edit_pos;
}

Function NOTHING
{
	state = nothing;
}

Function CLEARNEW
{
	ballpathlist clear;
	ballpathlist add;
	EDITPATH;
}

Function SAVED
{
	SAVEF("test.cs");
}

Function LOADD
{
	LOADF("test.cs");
}

Function SAVEF ( filename )
{
	ballpathlist savecs $filename;
	STAGE_FILENAME = $filename;
}

Function LOADF ( filename )
{
	STAGE_FILENAME = $filename;
	restart;
	//CALL = $filename;
}

Function SAVE1
{
	SAVEF("stage1.cs");
}

Function LOAD1
{
	LOADF("stage1.cs");
}

Function SAVE2
{
	SAVEF("stage2.cs");
}

Function LOAD2
{
	LOADF("stage2.cs");
}

Function SAVE3
{
	SAVEF("stage3.cs");
}

Function LOAD3
{
	LOADF("stage3.cs");
}

Function SAVE4
{
	SAVEF("stage4.cs");
}

Function LOAD4
{
	LOADF("stage4.cs");
}

Function SAVE5
{
	SAVEF("stage5.cs");
}

Function LOAD5
{
	LOADF("stage5.cs");
}
Function SAVE6
{
	SAVEF("stage6.cs");
}

Function LOAD6
{
	LOADF("stage6.cs");
}
Function SAVE7
{
	SAVEF("stage7.cs");
}

Function LOAD7
{
	LOADF("stage7.cs");
}

Function SAVE8
{
	SAVEF("stage8.cs");
}
Function LOAD8
{
	LOADF("stage8.cs");
}

Function SAVE9
{
	SAVEF("stage9.cs");
}
Function LOAD9
{
	LOADF("stage9.cs");
}

Function SAVE10
{
	SAVEF("stage10.cs");
}
Function LOAD10
{
	LOADF("stage10.cs");
}

Function SAVE11
{
	SAVEF("stage11.cs");
}
Function LOAD11
{
	LOADF("stage11.cs");
}

Function SAVE12
{
	SAVEF("stage12.cs");
}
Function LOAD12
{
	LOADF("stage12.cs");
}

Function SAVE13
{
	SAVEF("stage13.cs");
}
Function LOAD13
{
	LOADF("stage13.cs");
}

Function SAVE14
{
	SAVEF("stage14.cs");
}
Function LOAD14
{
	LOADF("stage14.cs");
}

Function SAVE15
{
	SAVEF("stage15.cs");
}
Function LOAD15
{
	LOADF("stage15.cs");
}

Function SAVE16
{
	SAVEF("stage16.cs");
}
Function LOAD16
{
	LOADF("stage16.cs");
}

Function SAVE17
{
	SAVEF("stage17.cs");
}
Function LOAD17
{
	LOADF("stage17.cs");
}

Function SAVE18
{
	SAVEF("stage18.cs");
}
Function LOAD18
{
	LOADF("stage18.cs");
}

Function SAVE19
{
	SAVEF("stage19.cs");
}
Function LOAD19
{
	LOADF("stage19.cs");
}

Function SAVE20
{
	SAVEF("stage20.cs");
}
Function LOAD20
{
	LOADF("stage20.cs");
}

Function SAVE21
{
	SAVEF("stage21.cs");
}
Function LOAD21
{
	LOADF("stage21.cs");
}

Function SAVE22
{
	SAVEF("stage22.cs");
}
Function LOAD22
{
	LOADF("stage22.cs");
}

Function SAVE23
{
	SAVEF("stage23.cs");
}
Function LOAD23
{
	LOADF("stage23.cs");
}

Function SAVE24
{
	SAVEF("stage24.cs");
}
Function LOAD24
{
	LOADF("stage24.cs");
}

Function SAVE25
{
	SAVEF("stage25.cs");
}
Function LOAD25
{
	LOADF("stage25.cs");
}

Function SAVE26
{
	SAVEF("stage26.cs");
}
Function LOAD26
{
	LOADF("stage26.cs");
}

Function SAVE27
{
	SAVEF("stage27.cs");
}
Function LOAD27
{
	LOADF("stage27.cs");
}

Function SAVE28
{
	SAVEF("stage28.cs");
}
Function LOAD28
{
	LOADF("stage28.cs");
}

Function SAVE29
{
	SAVEF("stage29.cs");
}
Function LOAD29
{
	LOADF("stage29.cs");
}

Function SAVE30
{
	SAVEF("stage30.cs");
}
Function LOAD30
{
	LOADF("stage30.cs");
}

Function SAVEX
{
	SAVEF("stageX.cs");
}

Function LOADX
{
	LOADF("stageX.cs");
}