IF COMMANDCOUNT > 0 THEN
FOR zzz = 1 TO COMMANDCOUNT
IF IDE.ShowSplashScreen THEN LabelStart.CAPTION = "Loading " + COMMAND$(zzz)
IF UCASE$(StripFileExt(COMMAND$(zzz))) = ".QPROJ" THEN
MFE_LoadProject(COMMAND$(zzz))
EXIT FOR
ELSE
MFE_Load(COMMAND$(zzz))
END IF
NEXT zzz
ELSE
IF IDE.NewTabAtStartup THEN MFE_NewFile
END IF
|